Anthony Sottile
1f262dab15
Document minimum version required for git-lfs
...
Resolves #252
2017-12-04 17:28:46 -08:00
Ben Webber
d889840b88
check-builtin-literals: Appease flake8 with six
2017-12-01 03:04:46 +00:00
Ben Webber
775867626d
check-builtin-literals: Ignore function attribute calls
2017-11-30 18:33:36 +00:00
Anthony Sottile
3ab8c71f56
Merge pull request #249 from benwebber/feature/check-builtin-literals
...
Add check to enforce literal syntax for Python builtin types
2017-11-25 18:07:03 -08:00
Ben Webber
35996b7a25
Add check to enforce literal syntax for Python builtin types
...
This check requires authors to initialize empty or zero builtin types
using the literal syntax (e.g., `{}` instead of `dict()`).
Authors may ignore this requirement for certain builtins using the
`--ignore` option.
Authors may also forbid calling `dict()` with keyword arguments
(`dict(a=1, b=2)`) using the `--no-allow-dict-kwargs` flag.
2017-11-26 00:46:03 +00:00
Anthony Sottile
e718847ccb
Merge pull request #246 from pre-commit/all-repos_autofix_all-repos-sed
...
git ls-files -z -- .coveragerc | xargs -0 sed -i '/ \*\/tmp\*/d'
2017-10-21 09:21:49 -07:00
Anthony Sottile
e9a0f84a69
git ls-files -z -- .coveragerc | xargs -0 sed -i '/ \*\/tmp\*/d'
...
Committed via https://github.com/asottile/all-repos
2017-10-21 08:59:57 -07:00
Anthony Sottile
f1e943e6bf
v1.1.1
2017-10-19 10:34:23 -07:00
Anthony Sottile
68816a92a1
Merge pull request #245 from pre-commit/flush
...
Add a flush
2017-10-18 14:55:44 -07:00
Anthony Sottile
9567db66e5
Add a flush
2017-10-18 14:46:38 -07:00
Anthony Sottile
8a98c5e590
v1.1.0
2017-10-12 16:00:22 -07:00
Anthony Sottile
a5338f276b
Merge pull request #244 from pre-commit/yaml_multi_document
...
Add an --allow-multiple-documents option to check-yaml
2017-10-12 15:57:58 -07:00
Anthony Sottile
e87b81afd9
Add an --allow-multiple-documents option to check-yaml
2017-10-12 15:52:10 -07:00
Anthony Sottile
e09278e806
CHANGELOG is a markdown file
2017-10-09 13:20:16 -07:00
Anthony Sottile
c326dc2fce
v1.0.0
2017-10-09 13:17:25 -07:00
Anthony Sottile
361a6ac1bc
Merge pull request #243 from pre-commit/comment_only_requirements_txt
...
Fix requirements-txt-fixer for comments at end of file
2017-10-09 11:27:52 -07:00
Anthony Sottile
7f0d6274b5
Merge pull request #242 from pre-commit/fix_trailing_whitespace_non_utf8_osx
...
Fix trailing-whitespace on macos for non-utf8 files
2017-10-09 10:59:27 -07:00
Anthony Sottile
86691eda47
Fix requirements-txt-fixer for comments at end of file
2017-10-09 10:59:17 -07:00
Anthony Sottile
9958d1e219
Fix trailing-whitespace on macos for non-utf8 files
2017-10-09 10:47:41 -07:00
Anthony Sottile
5d08e77ad5
Merge pull request #241 from pre-commit/check_vcs_permalinks
...
Add hook for ensuring vcs permalinks
2017-10-07 07:45:43 -07:00
Anthony Sottile
9db0a745f6
Add hook for ensuring vcs permalinks
2017-10-06 23:37:13 -07:00
Anthony Sottile
dec98f7bc8
v0.9.5
2017-09-27 07:55:32 -07:00
Anthony Sottile
bb8384f5be
Merge pull request #240 from pre-commit/mixed_line_ending_force
...
Fix mixed-line-endings --fix=... when whole file is a different ending
2017-09-27 07:54:25 -07:00
Anthony Sottile
76047f6eef
Fix mixed-line-endings --fix=... when whole file is a different ending
2017-09-27 07:47:24 -07:00
Anthony Sottile
efdceb4e40
v0.9.4
2017-09-19 10:26:18 -07:00
Anthony Sottile
9c62866ae0
Merge pull request #238 from pre-commit/line_endings_entry
...
Fix mixed-line-endings entrypoint
2017-09-19 10:24:57 -07:00
Anthony Sottile
54ec15fa89
Fix mixed-line-endings entrypoint
2017-09-19 10:14:14 -07:00
Anthony Sottile
08a643e0de
Merge pull request #236 from pre-commit/use_symlink_fixtures
...
Use fixtures for the symlink tests to fix appveyor
2017-09-08 08:43:19 -07:00
Anthony Sottile
c5b7c35d81
Use fixtures for the symlink tests to fix appveyor
2017-09-08 08:35:13 -07:00
Anthony Sottile
9730eb3beb
v0.9.3
2017-09-07 19:54:30 -07:00
Anthony Sottile
36af62c4ae
Merge pull request #233 from pre-commit/mixed-line-ending
...
Add mixed-line-ending hook
2017-09-07 19:51:50 -07:00
Anthony Sottile
4eba5d029c
Merge branch 'all-repos_autofix_pre-commit-cache-dir'
2017-09-07 19:32:00 -07:00
Anthony Sottile
8f1217bf9f
Update pre-commit cache directory.
...
Committed via https://github.com/asottile/all-repos
2017-09-07 19:31:59 -07:00
Anthony Sottile
3a26cd1f1b
Merge pull request #235 from pre-commit/all-repos_autofix_pre-commit-migrate-config
...
Ran pre-commit migrate-config.
2017-09-07 19:28:21 -07:00
Anthony Sottile
e577432d8b
Ran pre-commit migrate-config.
...
Committed via https://github.com/asottile/all-repos
2017-09-07 19:22:03 -07:00
Anthony Sottile
1cc11568d0
Merge pull request #234 from pre-commit/remove_validate_config
...
Remove unneeded validate_config pre-commit hook
2017-09-07 17:56:55 -07:00
Anthony Sottile
d87f6cba30
Remove unneeded validate_config pre-commit hook
2017-09-07 17:48:54 -07:00
Anthony Sottile
fbcd096ea9
Simplify mixed-line-ending hook
2017-09-05 20:25:39 -07:00
Anthony Sottile
47c4d9ebed
Fix mixed-line-ending tests on windows
2017-09-05 19:30:56 -07:00
Morgan Courbet
fc8a5b27e9
Add mixed-line-ending hook
2017-09-05 19:30:55 -07:00
Anthony Sottile
78dffcc819
v0.9.2
2017-08-21 10:58:25 -07:00
Anthony Sottile
31d9774748
Merge pull request #230 from pre-commit/debug_statements_non_utf8
...
debug statements hook works for non-utf8 files
2017-08-14 23:27:38 -04:00
Anthony Sottile
2913408db3
debug statements hook works for non-utf8 files
2017-08-14 20:20:32 -07:00
Anthony Sottile
5c2430e238
Merge pull request #229 from pre-commit/all-repos_autofix_pre-commit-autoupdate
...
Ran pre-commit autoupdate.
2017-08-14 21:54:59 -04:00
Anthony Sottile
f36ce7025e
Ran pre-commit autoupdate.
...
Committed via https://github.com/asottile/all-repos
2017-08-14 18:24:29 -07:00
Anthony Sottile
1553c96e2a
Merge pull request #227 from pre-commit/better_tests_regex
...
Use a better regex for name-tests-test
2017-07-30 21:08:20 -04:00
Anthony Sottile
c5b56b6369
Use a better regex for name-tests-test
2017-07-30 17:52:31 -07:00
Anthony Sottile
0861462aa3
Merge pull request #225 from dlgallagher/patch-1
...
Update README.md
2017-07-27 18:14:08 -04:00
Dan
eebb2e6d87
Update README.md
...
Fix error in README.md
2017-07-27 15:09:31 -07:00
Anthony Sottile
f233e2fc6f
Merge pull request #224 from pre-commit/use_new_git_lfs
...
Use new git lfs
2017-07-26 03:44:57 -07:00