Commit graph

422 commits

Author SHA1 Message Date
Morgan Courbet
1e6136f497 Merge 0e223bcb15 into 78dffcc819 2017-08-24 15:27:07 +00: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
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
Morgan Courbet
0e223bcb15
Refactor mixed_line_ending.py 2017-07-20 21:38:35 +02:00
Morgan Courbet
f9915cbbe2
Remove _check_filenames in mixed_line_ending.py 2017-07-20 20:32:04 +02:00
Morgan Courbet
4d3d8e1831
Remove -v/--verbose option on mixed_line_ending.py 2017-07-20 20:30:56 +02:00
Morgan Courbet
ef4a323728
Refactor pre_commit_hooks/mixed_line_ending.py 2017-07-20 19:37:43 +02:00
Morgan Courbet
4be276c1a6
Remove non relevant comments and make others more explicit 2017-07-20 18:59:38 +02:00
Morgan Courbet
f58b552c37
Refactor pre_commit_hooks/mixed_line_ending.py 2017-07-20 18:54:56 +02:00
Morgan Courbet
f795097861
Add Pyhton 2.7 'enum34' dependency declaration 2017-07-20 18:45:47 +02:00
Anthony Sottile
a6b1e98e12 Upgrade add-trailing-comma 2017-07-19 11:24:01 -07:00
Morgan Courbet
eb0c3ba0da
Update README.md based on maintainer's wish 2017-07-18 21:47:27 +02:00
Morgan Courbet
41ff0e10a8
Use new features from pre-commit 0.15.0 2017-07-18 20:27:36 +02:00
Morgan Courbet
ab2a849052
Clean up against add-trailing-comma 2017-07-18 20:17:06 +02:00
Morgan Courbet
55658c4bbc
Merge remote-tracking branch 'upstream/master' into mixed-line-ending 2017-07-18 19:40:39 +02: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
Morgan Courbet
0335ebfb86
Update README.md 2017-07-17 21:30:20 +02: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
Morgan Courbet
560e1c2e1b
Add mixed-line-ending hook declaration 2017-07-10 22:33:27 +02:00
Morgan Courbet
19377889df
Add support for CR line ending for mixed_line_ending.py
'--fix=cr' is not yet implemented though
2017-07-10 21:53:08 +02:00
Morgan Courbet
4fc9624b6a
Refactor _detect_line_ending 2017-07-10 21:27:09 +02:00
Morgan Courbet
8bc4af45ba
Refactor file opening 2017-07-09 11:17:08 +02:00
Morgan Courbet
d16d04a4d7
Fix the 5 remaining tests for Python 3.4 & 3.5
Fixes nagromc/pre-commit-hooks#1
2017-07-09 11:16:20 +02:00
Morgan Courbet
2b6ad978de
Fix 13 tests for Python 3.4 & 3.5 2017-07-09 09:24:21 +02:00
Morgan Courbet
ba63d1b9db
Refactor _process_no_fix 2017-07-08 10:30:09 +02:00
Morgan Courbet
d0016c5be3
Ignore .cache/ 2017-07-08 10:21:14 +02: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
Morgan Courbet
3dbeeeefe5
Improve test coverage 2017-07-04 22:55:49 +02:00
Morgan Courbet
63bb1fd1f5
Add unit test for mixed_line_ending --fix={cr,crlf} 2017-07-04 21:51:08 +02:00
Morgan Courbet
609d01178c
Improve logging for force line ending 2017-07-04 21:26:02 +02:00