Commit graph

400 commits

Author SHA1 Message Date
Morgan Courbet
f795097861
Add Pyhton 2.7 'enum34' dependency declaration 2017-07-20 18:45:47 +02: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
Morgan Courbet
a1e1421a99
Refactor mixed_line_ending 2017-07-04 21:23:03 +02:00
Morgan Courbet
614893f36d
Fix _process_fix_auto to return the right value 2017-07-04 21:18:29 +02:00
Morgan Courbet
c6c4c4a2fa
Refactor mixed_line_ending 2017-07-04 21:07:00 +02:00
Morgan Courbet
a1ffbfaa59
Add mixed line detection 2017-07-04 20:50:49 +02:00
Morgan Courbet
4270b56e50
Refactor MixedLineDetection 2017-07-04 20:49:11 +02:00
Morgan Courbet
b1294b8614
Add unit test for mixed_line_ending 2017-07-03 20:04:03 +02:00
Morgan Courbet
f477582ae6
Add logs to mixed_line_ending.py 2017-07-03 18:52:18 +02: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
Morgan Courbet
22b228210e
Reuse variable definition 2017-06-29 21:46:25 +02:00
Morgan Courbet
2b28f4f051
Rename variable names 2017-06-29 21:42:19 +02:00
Morgan Courbet
0a8b929f07
Change files according to --fix option 2017-06-29 21:16:17 +02:00