Commit graph

73 commits

Author SHA1 Message Date
Anthony Sottile
dec98f7bc8 v0.9.5 2017-09-27 07:55:32 -07:00
Anthony Sottile
efdceb4e40 v0.9.4 2017-09-19 10:26:18 -07:00
Anthony Sottile
54ec15fa89 Fix mixed-line-endings entrypoint 2017-09-19 10:14:14 -07:00
Anthony Sottile
9730eb3beb v0.9.3 2017-09-07 19:54:30 -07:00
Anthony Sottile
fbcd096ea9 Simplify mixed-line-ending hook 2017-09-05 20:25:39 -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
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
Anthony Sottile
7192665e31 v0.9.1 2017-07-02 22:27:09 -07:00
Anthony Sottile
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
Anthony Sottile
5dbbd4dd08 v0.9.0 2017-07-02 21:21:19 -07:00
Chris Kuehl
13991f09d2 Add a checker for executables without shebangs 2017-07-02 21:14:25 -07:00
Daniel Gallagher
d188f2ecf8 Merge branch 'master' into file_contents_sorter_hook 2017-06-25 09:39:21 -07:00
Daniel Gallagher
b6eff3d39e Add sort-simple-yaml hook (originally private hook from yelp_pre_commit_hooks) 2017-06-23 16:26:00 -07:00
Daniel Gallagher
9425c5d6b5 First commit of file-contents-sorter precommit hook 2017-06-23 00:33:13 -07:00
Anthony Sottile
78818b90cd v0.8.0 2017-06-06 14:26:36 -07:00
Evan Felix
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
Anthony Sottile
ef7c425a3e Require a newer version of autopep8 2017-03-13 14:34:13 -07:00
Anthony Sottile
20f04626a1 v0.7.1 2017-02-07 10:00:42 -08:00
Anthony Sottile
63142f2d4e v0.7.0 2017-01-21 18:32:17 -08:00
Anthony Sottile
bec44063b0 Test py36 instead of py34 2017-01-20 20:44:44 -08:00
Anthony Sottile
77a7bba2f9 v0.6.1 2016-11-30 10:40:03 -08:00
Chris Kuehl
4b928ab06b Add forbid-new-submodules to hooks.yaml 2016-11-30 10:25:51 -08:00
Anthony Sottile
d19360c179 Drop py33, add py35 2016-08-22 14:32:12 -07:00
Anthony Sottile
6925455ef7 v0.6.0 2016-08-12 10:23:38 -07:00
Anthony Sottile
adbb569fe9 v0.5.1 2016-05-16 09:12:32 -07:00
Anthony Sottile
ff65d01841 v0.5.0 2016-04-05 10:52:44 -07:00
Anthony Sottile
fe9c404019 Forbid files with a UTF-8 BOM 2016-03-18 10:59:31 -07:00
Anthony Sottile
97b88d9610 flake8 2.5.3 is broken: https://gitlab.com/pycqa/flake8/issues/119 2016-02-11 09:46:10 -08:00
Anthony Sottile
64943e8641 Add metadata for check-symlinks 2016-01-15 07:47:33 -08:00
Anthony Sottile
aa2ba6f94f Add encoding pragma hook. Resolves pre-commit/pre-commit#15 2015-11-13 12:39:43 -08:00
Anthony Sottile
8a8aaf5a60 Add a hook to verify python ast. 2015-08-04 13:48:30 -07:00
Anthony Sottile
516cc9fa72 Allow six to bump 2015-06-17 11:49:19 -07:00
Anthony Sottile
99574324eb Merge pull request #60 from arahayrabedian/master
AWS credential checking
2015-06-17 11:46:15 -07:00
Ara Hayrabedian
255af75d1f add six to installation requirements 2015-06-12 19:21:14 +04:00
Léo Cavaillé
55bf22dc4a Add new hook pretty-format-json
This new hook allows to standardize one's JSON files (sorted key/4
spaces indent).
By default it just fails if any file is not complying with the standard,
but you can also pass the arg `--autofix` and the hook will
pretty-format the file itself.

Good in use combined with the `check-json` hook.
2015-06-11 00:08:03 -04:00
Ara Hayrabedian
95bf20d52d add aws credential checking ONLY FOR YOUR OWN credentials if they're set in a configurable credentials file (AWS CLI tools' native format) 2015-06-01 23:16:51 +04:00
Anthony Sottile
cf550fcab3 v0.4.2 2015-05-31 14:02:52 -07:00
Anthony Sottile
9ba5af45ce Fix #59 by removing direct dependency on pyflakes 2015-05-31 13:46:47 -07:00
Anthony Sottile
713fab4bc7 Remove dependency on plumbum 2015-03-20 14:15:30 -07:00
Guy Kisel
779a42919a Add check-merge-conflict hook 2015-03-13 16:30:14 -07:00
Anthony Sottile
9ce45609a9 Merge pull request #43 from campaul/detect_private_key
Detect OpenSSH private keys
2015-03-08 12:38:35 -07:00
Anthony Sottile
4cb861acec v0.4.1 2015-03-08 12:32:40 -07:00
Anthony Sottile
4078cbedf0 Quickfix to prevent pep8 conflicts 2015-03-08 11:34:04 -07:00
Cameron Paul
68a7729327 Detect OpenSSH private keys 2015-03-07 09:35:30 -08:00
Anthony Sottile
d96cef92c9 Respect autopep8 config. Resolves #38. 2015-02-26 18:23:52 -08:00
Anthony Sottile
9f107a0327 v0.4.0 2015-02-22 08:39:33 -08:00
Ken Struys
12f02dfeb8 implemented a basic double quote string fixer 2015-02-08 21:05:12 -08:00
Anthony Sottile
ddc9208a5f Add check-xml hook. 2015-01-17 10:30:58 -08:00
gkisel
c682b50749 Add check_case_conflict hook #21 2015-01-12 15:38:22 -08:00