Commit graph

553 commits

Author SHA1 Message Date
Anthony Sottile
634383cffd
Merge pull request #360 from pre-commit/mypy
Apply typing to all of pre-commit-hooks
2019-02-02 10:47:43 -08:00
Anthony Sottile
f5ae7d1ece
Merge pull request #362 from revolter/patch-1
Don't run check-executables-have-shebangs and trailing-whitespace-fixer hooks for the commit-msg stage
2019-02-02 00:48:32 -08:00
Iulian Onofrei
93e3a4f3ee
Don't run check-executables-have-shebangs and trailing-whitespace-fixer hooks for the commit-msg stage 2019-02-02 10:38:39 +02:00
Anthony Sottile
030bfac7e4 Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
Anthony Sottile
63cc3414e9 Updates for flake8 3.7 2019-01-30 00:15:11 -08:00
Anthony Sottile
50d31f9c5c
Merge pull request #359 from pre-commit/all-repos_autofix_all-repos-sed
Add W504 to ignored autopep8 rules
2019-01-29 22:24:28 -08:00
Anthony Sottile
c9f7b813e3 Add W504 to ignored autopep8 rules
Committed via https://github.com/asottile/all-repos
2019-01-29 22:09:54 -08:00
Anthony Sottile
7456565cab
Merge pull request #358 from pre-commit/asottile-patch-1
Turn off pre-commit's automated multiprocessing for flake8
2019-01-27 09:35:23 -08:00
Anthony Sottile
2c29916456
Turn off pre-commit's automated multiprocessing for flake8
flake8 internally implements multiprocessing, disabling pre-commit's improves performance
2019-01-27 09:25:18 -08:00
Anthony Sottile
7b8d15f438
Merge pull request #355 from pre-commit/all-repos_autofix_nosudo
remove sudo: in .travis.yml
2019-01-14 21:19:17 -08:00
Anthony Sottile
3709f5b2c4 remove sudo: in .travis.yml
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

Committed via https://github.com/asottile/all-repos
2019-01-14 20:59:50 -08:00
Anthony Sottile
d4b887a69e
Merge pull request #352 from pre-commit/pre_commit_autoupdate
pre-commit autoupdate
2019-01-02 10:38:50 -08:00
Anthony Sottile
e7158ce14d pre-commit autoupdate 2019-01-02 10:31:51 -08:00
Anthony Sottile
de9e7a04b1
Merge pull request #351 from pre-commit/ruamel_yaml
switch from pyyaml to ruamel.yaml
2018-12-28 14:18:07 -08:00
Anthony Sottile
a762639038 switch from pyyaml to ruamel.yaml 2018-12-28 13:09:17 -08:00
Anthony Sottile
c8bad492e1 v2.1.0 2018-12-26 09:48:02 -08:00
Anthony Sottile
c65fcd3fc5
Merge pull request #341 from gimbo/improvement/mix-line-endings-reporting
Report failing filenames when --fix=no in mixed-line-endings
2018-12-03 09:08:12 -08:00
Anthony Sottile
1566cf9cca Add test for mixed line endings output 2018-12-03 08:34:05 -08:00
Anthony Sottile
e32adb413a
Merge pull request #343 from TheKevJames/patch-1
fix(metadata): deprecate `autopep8-wrapper`
2018-11-26 14:59:10 -08:00
Kevin James
1d705879fd
Update .pre-commit-hooks.yaml 2018-11-26 14:43:33 -08:00
Kevin James
4303229d8f
Update .pre-commit-hooks.yaml 2018-11-26 12:18:43 -08:00
Kevin James
3eca2d07a5
fix(metadata): deprecate autopep8-wrapper 2018-11-26 12:12:42 -08:00
Andy Gimblett
59ed512020 In mixed-line-endings, move check/print to main() as suggested by asottile (PR 341) 2018-11-26 17:35:03 +00:00
Andy Gimblett
f3c65bcd20 Report failing filenames when --fix=no in mixed-line-endings 2018-11-26 10:17:52 +00:00
Anthony Sottile
2dbaced650
Merge pull request #333 from rpdelaney/fix/aws-credentials-docs
Fix/aws credentials docs
2018-10-28 16:29:24 -07:00
Ryan Delaney
0d83fed4fa Reword usage info to clarify required usage syntax 2018-10-28 16:00:01 -07:00
Ryan Delaney
2d4833c73e Rename metavar to clarify required usage syntax 2018-10-28 15:58:14 -07:00
Ryan Delaney
4b8eb6f96a Add required argument to cli parameter 2018-10-28 12:07:03 -07:00
Ryan Delaney
efc5b9ecc1 Add missing parameter --allow-missing-credentials 2018-10-28 12:05:42 -07:00
Anthony Sottile
86bfe8c475
Merge pull request #329 from rpdelaney/feature/ban_gpg_private_key
Add ban for pgp/gpg private key blocks to detect_private_key
2018-10-22 12:52:43 -07:00
Ryan Delaney
b1feed0ced Add ban for pgp/gpg private key blocks 2018-10-22 12:11:59 -07:00
Anthony Sottile
cb2bc2edc3
Merge pull request #327 from mtkennerly/bugfix/eol-crlf
Fix #326: Handle CRLF in end-of-file-fixer
2018-10-13 16:53:05 -07:00
mtkennerly
e694a6cfc2 Incorporate patch to support isolated CR 2018-10-13 19:44:02 -04:00
mtkennerly
2ab5832ce1 Preserve CRLF if file already ends that way 2018-10-13 19:00:22 -04:00
mtkennerly
abd3d0ec3f Fix CRLF lines 2018-10-13 07:26:53 -04:00
Anthony Sottile
e01bc2c2a1 v2.0.0 2018-10-12 19:55:16 -07:00
Anthony Sottile
dbf7de0031
Merge pull request #325 from pre-commit/use_subprocess
Use subprocess directly
2018-10-12 19:44:44 -07:00
Anthony Sottile
69f2da629e Use subprocess directly 2018-10-12 19:37:46 -07:00
Anthony Sottile
08e2918d60
Merge pull request #321 from pre-commit/suggest_mirrors_autopep8
Remove autopep8-wrapper in favor of autopep8
2018-10-12 19:23:26 -07:00
Anthony Sottile
c9a608a9ca
Merge pull request #323 from pre-commit/remove_compat
Remove legacy hooks.yaml and pre-types config
2018-10-12 19:23:13 -07:00
Anthony Sottile
6d83a62aad
Merge pull request #324 from pre-commit/markdown_ext
Default --no-markdown-linebreak-ext for trailing-whitespace
2018-10-12 19:22:38 -07:00
Anthony Sottile
99453a5366 Default --no-markdown-linebreak-ext for trailing-whitespace 2018-10-12 18:15:39 -07:00
Anthony Sottile
2f6ba1b88e Remove legacy hooks.yaml and pre-types config 2018-10-11 22:20:07 -07:00
Anthony Sottile
526904b159 Remove autopep8-wrapper in favor of autopep8 2018-10-11 17:19:35 -07:00
Anthony Sottile
78b24438db
Merge pull request #318 from milin/fix_readme
Fix readme to correctly reflect no-commit-to-branch args
2018-10-10 11:20:06 -07:00
Anthony Sottile
3aa6c641d2
Update README.md 2018-10-10 11:15:13 -07:00
Shakya, Milind
023851e657 Fix readme to correctly reflect no-commit-to-branch args 2018-10-04 17:40:47 -04:00
Anthony Sottile
e018adf3ac Add changelog entry for 1.4.0-1 2018-09-27 11:17:33 -07:00
Anthony Sottile
b8c3b0503a
Merge pull request #317 from revolter/patch-1
Don't run end-of-file-fixer hook for the commit-msg stage
2018-09-27 11:15:03 -07:00
Iulian Onofrei
5f6a443de2
Fix options ordering 2018-09-27 21:09:33 +03:00