Commit graph

485 commits

Author SHA1 Message Date
Anthony Sottile
baec308367 Allow multiple branches to be protected
Original patch by @moas
2018-06-09 11:18:33 -07:00
Anthony Sottile
2aa7aeb572 git mv tests/{check_,}no_commit_to_branch_test.py 2018-06-09 11:10:43 -07:00
Anthony Sottile
fa7a3b5466
Merge pull request #293 from pre-commit/dont_match_whitespace_regex
Improve vcs regex (don't match whitespace)
2018-06-04 10:58:13 -07:00
Anthony Sottile
c72ad40a6d Improve vcs regex (don't match whitespace) 2018-06-04 10:10:14 -07:00
Anthony Sottile
bf8369c862
Merge pull request #290 from pre-commit/all-repos_autofix_e309-autopep8
E309 is no longer rewritten by autopep8
2018-06-01 15:12:45 -07:00
Anthony Sottile
d12ed2f637 E309 is no longer rewritten by autopep8
Committed via https://github.com/asottile/all-repos
2018-06-01 13:39:48 -07:00
Anthony Sottile
04f59e3d3f
Merge pull request #289 from pre-commit/all-repos_autofix_manual-https-git-urls
Suggest https:// git urls
2018-05-28 11:10:31 -07:00
Anthony Sottile
ffcda22d77 Suggest https:// git urls
Committed via https://github.com/asottile/all-repos
2018-05-28 10:58:28 -07:00
Anthony Sottile
a6209d8d4f v1.3.0 2018-05-28 10:34:46 -07:00
Anthony Sottile
e931230641
Merge pull request #288 from pre-commit/all-repos_autofix_rm-makefile
Remove (unused) Makefile
2018-05-23 18:20:51 -07:00
Anthony Sottile
e8a9a519d2 Remove (unused) Makefile
Committed via https://github.com/asottile/all-repos
2018-05-23 17:45:46 -07:00
Anthony Sottile
7a8a6e4b54
Merge pull request #287 from vin01/master
Detect putty & sshcom private keys
2018-05-18 15:41:06 -07:00
vin01
45d3850244 Detect putty & sshcom private keys 2018-05-19 00:31:16 +01:00
Anthony Sottile
a66a33042a
Merge pull request #286 from pre-commit/fix_builtin_literals_check
Explicitly check for `ast.Name`
2018-05-17 17:22:49 -07:00
Anthony Sottile
df93509aed Explicitly check for ast.Name 2018-05-17 17:14:25 -07:00
Anthony Sottile
805530fe29 Update debug-statements description 2018-05-14 09:16:37 -07:00
Anthony Sottile
6ed369d651
Merge pull request #283 from pre-commit/breakpoint
debug-statements: detect python3.7+ breakpoint()
2018-05-14 09:11:08 -07:00
Anthony Sottile
18b3ab7cd2 debug-statements: detect python3.7+ breakpoint() 2018-05-13 15:28:39 -07:00
Anthony Sottile
6e2e83a409 Simplify debug-statemetns tests 2018-05-13 15:07:31 -07:00
Anthony Sottile
904a06196d
Merge pull request #282 from pre-commit/all-repos_autofix_all-repos-sed
Replace legacy wheel metadata
2018-04-30 07:49:55 -07:00
Anthony Sottile
3a325ee786 Replace legacy wheel metadata
Committed via https://github.com/asottile/all-repos
2018-04-30 09:33:25 -04:00
Anthony Sottile
8971d2fa75
Merge pull request #281 from pre-commit/remove_write_file
Remove write_file (now unnecessary)
2018-03-26 09:30:46 -07:00
Anthony Sottile
9b1b44e9c9 Remove write_file (now unnecessary) 2018-03-26 09:10:43 -07:00
Anthony Sottile
71fadeb238
Merge pull request #280 from pre-commit/no__rebase_on_pull
pull with --no-rebase
2018-03-26 08:43:59 -07:00
Anthony Sottile
588232e381
Merge pull request #279 from nvtkaszpir/fix/non-utf8-opens
Open files as UTF-8
2018-03-26 08:40:41 -07:00
Anthony Sottile
da8ab1ffe8 pull with --no-rebase 2018-03-26 08:33:11 -07:00
Michał Sochoń
54c0f8c937 Open files as UTF-8 2018-03-26 12:00:48 +02:00
Anthony Sottile
16ff195820
Merge pull request #277 from pre-commit/fix_readme_test_non_utf8
Always load the README as UTF-8
2018-03-25 17:22:37 -07:00
Anthony Sottile
b312063051 Always load the README as UTF-8 2018-03-25 17:12:49 -07:00
Anthony Sottile
20baf1a22a
Merge pull request #275 from nvtkaszpir/feature/fix-broken-pkg-resources
Provide automatic removal of pkg-resources==0.0.0
2018-03-25 15:46:53 -07:00
Michał Sochoń
980fc9bdc3 Fix flake8 error
Forgot to rename one var...
2018-03-26 00:41:21 +02:00
Michał Sochoń
b0d44c7084 Ensure not to alter list in 'for' loop 2018-03-26 00:17:13 +02:00
Michał Sochoń
9e28aaf275 Simplify check, extend README 2018-03-26 00:02:23 +02:00
Michał Sochoń
1d6ad0d6ed Provide automatic removal of pkg-resources==0.0.0
Should help to deal with that pretty paintuly issue under Ubuntu/Debian
family:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463
2018-03-25 23:34:02 +02:00
Anthony Sottile
1bdd699a79
Fix typo 2018-03-19 10:13:18 -07:00
Anthony Sottile
7212f9408e
Merge pull request #274 from pre-commit/check_yaml_unsafe
Add an `--unsafe` option to `check-yaml`
2018-03-19 09:48:06 -07:00
Anthony Sottile
a21def36e3 Add an --unsafe option to check-yaml 2018-03-19 09:28:18 -07:00
Anthony Sottile
e80813e7e9
Merge pull request #272 from pre-commit/all-repos_autofix_pre-commit-autoupdate
Ran pre-commit autoupdate.
2018-03-09 08:22:20 -08:00
Anthony Sottile
a0a19d66a8 Ran pre-commit autoupdate.
Committed via https://github.com/asottile/all-repos
2018-03-08 22:38:55 -08:00
Anthony Sottile
92e1570c28 v1.2.3 2018-02-28 09:14:40 -08:00
Anthony Sottile
f6780b99f6 Fix trailing-whitespace entrypoint 2018-02-28 09:13:20 -08:00
Anthony Sottile
1b12723c29 v1.2.2 2018-02-28 09:01:18 -08:00
Anthony Sottile
7efec83404
Merge pull request #271 from pre-commit/dont_modify_end_of_file
Don't add end-of-file newline while trimming whitespace
2018-02-28 08:58:59 -08:00
Anthony Sottile
38e02ff508 Don't add end-of-file newline while trimming whitespace 2018-02-28 08:43:07 -08:00
Anthony Sottile
2f8b625855 Add changelog for v1.2.1-1 2018-02-24 09:41:00 -08:00
Anthony Sottile
6c9a7e832a v1.2.1-1 2018-02-24 09:39:32 -08:00
Anthony Sottile
5d8d33adbd
Merge pull request #269 from pre-commit/dont_pass_filenames_no_commit_to_branch
Don't pass filenames for no-commit-to-branch
2018-02-24 09:38:45 -08:00
Anthony Sottile
66eb9d3aec Don't pass filenames for no-commit-to-branch 2018-02-24 09:24:30 -08:00
Anthony Sottile
b1a8062750 v1.2.1 2018-02-19 13:27:08 -08:00
Anthony Sottile
93833548b1
Merge pull request #266 from pre-commit/fix_no_commit_to_branch
Fix no-commit-to-branch when not on a branch
2018-02-19 13:21:41 -08:00