97 Commits

Author SHA1 Message Date
8f6152921e drop python3.6 support
python 3.6 reached end of life on 2021-12-23

Committed via https://github.com/asottile/all-repos
2022-01-15 19:24:05 -05:00
1a5a5a232b Migrate setup.py to setup.cfg declarative metadata
Committed via https://github.com/asottile/all-repos
2019-02-27 22:12:12 -08:00
4575652bd2 Use default flake8 config 2019-02-11 19:56:15 -08:00
030bfac7e4 Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
a762639038 switch from pyyaml to ruamel.yaml 2018-12-28 13:09:17 -08:00
c8bad492e1 v2.1.0 2018-12-26 09:48:02 -08:00
e01bc2c2a1 v2.0.0 2018-10-12 19:55:16 -07:00
526904b159 Remove autopep8-wrapper in favor of autopep8 2018-10-11 17:19:35 -07:00
219c70a9c1 v1.4.0 2018-07-22 09:32:56 -07:00
c9899ab7d1 Don't test python3.5 now that we test python3.7 2018-07-08 08:20:50 -07:00
a6209d8d4f v1.3.0 2018-05-28 10:34:46 -07:00
18b3ab7cd2 debug-statements: detect python3.7+ breakpoint() 2018-05-13 15:28:39 -07:00
92e1570c28 v1.2.3 2018-02-28 09:14:40 -08:00
f6780b99f6 Fix trailing-whitespace entrypoint 2018-02-28 09:13:20 -08:00
1b12723c29 v1.2.2 2018-02-28 09:01:18 -08:00
b1a8062750 v1.2.1 2018-02-19 13:27:08 -08:00
0ddb3b8527 v1.2.0 2018-01-13 17:36:06 -08:00
3e1b954a6e Add six back to setup.py 2017-12-11 07:30:08 -08:00
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
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
f1e943e6bf v1.1.1 2017-10-19 10:34:23 -07:00
8a98c5e590 v1.1.0 2017-10-12 16:00:22 -07:00
c326dc2fce v1.0.0 2017-10-09 13:17:25 -07:00
9db0a745f6 Add hook for ensuring vcs permalinks 2017-10-06 23:37:13 -07:00
dec98f7bc8 v0.9.5 2017-09-27 07:55:32 -07:00
efdceb4e40 v0.9.4 2017-09-19 10:26:18 -07:00
54ec15fa89 Fix mixed-line-endings entrypoint 2017-09-19 10:14:14 -07:00
9730eb3beb v0.9.3 2017-09-07 19:54:30 -07:00
fbcd096ea9 Simplify mixed-line-ending hook 2017-09-05 20:25:39 -07:00
fc8a5b27e9 Add mixed-line-ending hook 2017-09-05 19:30:55 -07:00
78dffcc819 v0.9.2 2017-08-21 10:58:25 -07:00
20209f691b Merge pull request #180 from pre-commit/require_new_autopep8
Require a newer version of autopep8
2017-07-05 12:27:36 -07:00
7192665e31 v0.9.1 2017-07-02 22:27:09 -07:00
16879bcf16 Merge pull request #211 from pre-commit/check-executables-have-shebangs
Add a checker for executables without shebangs
2017-07-02 21:26:06 -07:00
5dbbd4dd08 v0.9.0 2017-07-02 21:21:19 -07:00
13991f09d2 Add a checker for executables without shebangs 2017-07-02 21:14:25 -07:00
d188f2ecf8 Merge branch 'master' into file_contents_sorter_hook 2017-06-25 09:39:21 -07:00
b6eff3d39e Add sort-simple-yaml hook (originally private hook from yelp_pre_commit_hooks) 2017-06-23 16:26:00 -07:00
9425c5d6b5 First commit of file-contents-sorter precommit hook 2017-06-23 00:33:13 -07:00
78818b90cd v0.8.0 2017-06-06 14:26:36 -07:00
a8592669d9 Add a no commit to specific branch hook. (#185)
* add no commit code and config

* add the code

* remove version tweak

* fix logic, remove newline

* add Tests and cleanup testing issues

* remove extraneous modules

* cleanup some pep8 and flake issues

* reorder imports

* more fixes for syntax checking

* code cleanup based off asottile comments

* Use Contractions Properly, alphabatize new hook.

* Adding support for branches with a slash in them.
2017-03-20 10:36:51 -07:00
ef7c425a3e Require a newer version of autopep8 2017-03-13 14:34:13 -07:00
20f04626a1 v0.7.1 2017-02-07 10:00:42 -08:00
63142f2d4e v0.7.0 2017-01-21 18:32:17 -08:00
bec44063b0 Test py36 instead of py34 2017-01-20 20:44:44 -08:00
77a7bba2f9 v0.6.1 2016-11-30 10:40:03 -08:00
4b928ab06b Add forbid-new-submodules to hooks.yaml 2016-11-30 10:25:51 -08:00
d19360c179 Drop py33, add py35 2016-08-22 14:32:12 -07:00
6925455ef7 v0.6.0 2016-08-12 10:23:38 -07:00
adbb569fe9 v0.5.1 2016-05-16 09:12:32 -07:00