Anthony Sottile
4ab791497c
Replace deprecated yield_fixture with fixture
...
Committed via https://github.com/asottile/all-repos
2018-01-21 15:31:23 -08:00
Anthony Sottile
0ddb3b8527
v1.2.0
2018-01-13 17:36:06 -08:00
Anthony Sottile
b78afdeaec
Merge pull request #256 from nicain/master
...
Update detect_private_key.py
2018-01-13 17:27:24 -08:00
nicain
70ee59f9e6
Update detect_private_key.py
2018-01-13 17:16:50 -08:00
Anthony Sottile
cf04ab0186
Merge pull request #254 from cas--/refactor/pretty-format-json
...
Refactor/pretty format json
2017-12-11 08:33:13 -08:00
Anthony Sottile
3e1b954a6e
Add six back to setup.py
2017-12-11 07:30:08 -08:00
Calum Lind
5b6ddaf9f7
Fix pretty_format_json to use int indent
...
The indent parameter for json should be integer and under Python2 is
will raise an error if not. So switch from str to int and mention
default value in help text.
2017-12-10 22:33:33 +00:00
Calum Lind
00974efa31
Remove pretty_format_json simplejson dependency
...
* The simplejson module is only needed for <=py25 so replace with builtin json.
* Replace six dependecy for simple Py2 check for convertion to unicode.
* Cleanup quotes.
2017-12-10 22:33:33 +00:00
Anthony Sottile
f3ff3316a3
Merge pull request #251 from benwebber/fix/check-builtin-literals-attributes
...
check-builtin-literals: Ignore function attribute calls
2017-12-10 14:10:22 -08:00
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