Commit graph

369 commits

Author SHA1 Message Date
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
Anthony Sottile
9581d50e79 Workaround https://github.com/travis-ci/travis-ci/issues/6865 2017-07-26 03:30:35 -07:00
Anthony Sottile
0c5f040a7f Use new git lfs (broken due to lfs returning non-lfs files) 2017-07-26 02:59:08 -07:00
Anthony Sottile
e11d94cfba Merge pull request #221 from pre-commit/asottile-patch-1
More strict regex for name-tests-test
2017-07-21 22:48:29 -07:00
Anthony Sottile
3effa55911 More strict regex for name-tests-test 2017-07-21 09:37:41 -07:00
Anthony Sottile
a6b1e98e12 Upgrade add-trailing-comma 2017-07-19 11:24:01 -07:00
Anthony Sottile
feb71798bf Merge pull request #219 from pre-commit/upgrade_add_trailing_comma_more
Upgrade pre-commit hooks
2017-07-17 18:58:24 -07:00
Anthony Sottile
b281d87906 Upgrade pre-commit hooks 2017-07-17 17:41:44 -07:00
Anthony Sottile
19b7f0f6ed Merge pull request #216 from pre-commit/upgrade_add_trailing_comma
Upgrade add-trailing-comma to 0.4.1
2017-07-15 14:17:43 -07:00
Anthony Sottile
e9aea74a77 Upgrade add-trailing-comma to 0.4.1 2017-07-15 13:06:38 -07:00
Anthony Sottile
ea227f024b Merge pull request #215 from pre-commit/add_trailing_comma
Use asottile/add-trailing-comma
2017-07-12 19:06:20 -07:00
Anthony Sottile
2a902e0a07 Use asottile/add-trailing-comma 2017-07-12 18:58:30 -07:00
Anthony Sottile
286962eeb7 Merge pull request #213 from pre-commit/report_version
Report full version in check-ast
2017-07-05 12:43:33 -07:00
Anthony Sottile
8ad9e7c94c Report full version in check-ast 2017-07-05 12:38:21 -07:00
Anthony Sottile
a574f8cb2b Merge pull request #212 from pre-commit/no_gpg_moar
Don't gpg sign during test
2017-07-05 12:30:33 -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
e1ec204be0 Don't gpg sign during test 2017-07-05 12:24:03 -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
1d7aaaaa1e Fix end of files 2017-07-02 21:22:35 -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
Anthony Sottile
4a457a725e Merge pull request #210 from pre-commit/use_types
Use 0.15.0 types
2017-07-02 21:08:55 -07:00
Anthony Sottile
a831757015 Merge pull request #188 from pre-commit/py36_test
Align tox.ini with .travis.yml
2017-07-02 21:08:42 -07:00
Anthony Sottile
0f1be0c521 Align tox.ini with .travis.yml 2017-07-02 20:59:11 -07:00
Anthony Sottile
abea6d293d Use 0.15.0 types 2017-07-02 20:57:10 -07:00
Anthony Sottile
5e4e5b3bcb Merge pull request #209 from pre-commit/0_15_0_forward_compatible
Make check-symlinks 0.15.0 compatible
2017-07-02 20:01:24 -07:00
Anthony Sottile
c4720434ba Make check-symlinks 0.15.0 compatible 2017-07-02 19:55:58 -07:00
Anthony Sottile
aa50988889 Merge pull request #199 from pre-commit/rebase_conflict
Support rebase conflicts in check-merge-conflicts
2017-07-02 19:43:55 -07:00
Anthony Sottile
e9446ff0cc Merge pull request #207 from dlgallagher/file_contents_sorter_hook_fix_bug_with_files_not_ending_in_newline
Fix bug with the file-contents-sorter hook when processing file that …
2017-06-26 11:28:11 -04:00
Daniel Gallagher
7102e0c8a3 file-contents-sorter should add newline at end of files missing newlines
Make an explicit 'else' path for readability
2017-06-26 08:10:32 -07:00
Daniel Gallagher
5dd1819e8b Warn users of file-contents-sorter that blank lines are removed and comments are not respected 2017-06-25 15:37:58 -07:00
Daniel Gallagher
7cfec24f77 Fix bug with the file-contents-sorter hook when processing file that does not end in a newline 2017-06-25 14:40:03 -07:00
Anthony Sottile
50871f83cc Merge pull request #206 from dlgallagher/requirements_txt_fixer_followup
Some style tweaks (requirements_txt_fixer)
2017-06-25 14:53:25 -04:00
Anthony Sottile
042c840ffa Merge pull request #202 from dlgallagher/file_contents_sorter_hook
File contents sorter hook
2017-06-25 14:52:04 -04:00
Daniel Gallagher
4c421e2ed1 Put argument parsing back into main() 2017-06-25 10:22:10 -07:00
Daniel Gallagher
844d9830de Some style tweaks 2017-06-25 10:14:58 -07:00
Daniel Gallagher
89ddf17888 Inline tuple parameterized test tuple 2017-06-25 09:48:16 -07:00
Daniel Gallagher
d188f2ecf8 Merge branch 'master' into file_contents_sorter_hook 2017-06-25 09:39:21 -07:00
Anthony Sottile
d419bef35c Merge pull request #205 from dlgallagher/fix_requirements_txt_fixer_on_empty_requirements_files
Fix NoneTypeError when requirements file is empty
2017-06-24 00:35:39 -04:00
Anthony Sottile
a9c4799de5 Merge pull request #203 from dlgallagher/sort_simple_yaml
Add sort-simple-yaml hook
2017-06-24 00:28:25 -04:00
Daniel Gallagher
7ccfa05f2f Fix NoneTypeError when requirements file is empty 2017-06-23 17:19: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
05d9c8c805 Make tests pass 2017-06-23 15:10:10 -07:00
Daniel Gallagher
b941d0e6df Respond to review feedback 2017-06-23 14:58:24 -07:00
Daniel Gallagher
4af7451154 Update README.md about file-contents-sorter 2017-06-23 11:32:05 -07:00
Daniel Gallagher
8b41c575db cp .pre-commit-hooks.yaml hooks.yaml 2017-06-23 10:44:10 -07:00
Daniel Gallagher
9425c5d6b5 First commit of file-contents-sorter precommit hook 2017-06-23 00:33:13 -07:00
Anthony Sottile
6076fd1b15 Support rebase conflicts in check-merge-conflicts 2017-06-12 10:39:07 -07:00
Anthony Sottile
78818b90cd v0.8.0 2017-06-06 14:26:36 -07:00