Commit graph

499 commits

Author SHA1 Message Date
Anthony Sottile
e719df51fe
Merge pull request #305 from pre-commit/no_py35
Don't test python3.5 now that we test python3.7
2018-07-08 10:18:44 -07:00
Anthony Sottile
c9899ab7d1 Don't test python3.5 now that we test python3.7 2018-07-08 08:20:50 -07:00
Anthony Sottile
b9ade8f9a1
Merge pull request #304 from expobrain/python_37
Added Python 3.7 support
2018-07-08 08:16:17 -07:00
Daniele Esposti
c02c3a237f Removed PyYAML version 2018-07-06 19:39:11 +01:00
Daniele Esposti
59527129e4 Updated Travis config for Python 3.7 2018-07-06 09:00:42 +01:00
Daniele Esposti
03ba7f73cb Fixed version of PyYAML 2018-07-06 09:00:25 +01:00
Daniele Esposti
a49c356f63 Added Python 3.7 support 2018-07-05 23:24:35 +01:00
Anthony Sottile
63e729fcc7
Merge pull request #301 from vinayinvicible/force-merge
Added --assume-in-merge option for check-merge-conflict
2018-06-26 11:35:36 -07:00
Vinay Karanam
64b9f3dcf0 Added --assume-in-merge option for check-merge-conflict
Fixes #300
2018-06-26 23:59:40 +05:30
Anthony Sottile
9bf684c131
Merge pull request #297 from pre-commit/warnings
Fix resource warnings
2018-06-18 08:21:00 -07:00
Anthony Sottile
1fc25d9778
Merge pull request #296 from pre-commit/fix_escape_sequences
Fix invalid escape sequences
2018-06-18 07:34:31 -07:00
Anthony Sottile
5dc306b35d Fix resource warnings 2018-06-18 00:00:38 -07:00
Anthony Sottile
6239384547 Fix invalid escape sequences 2018-06-17 23:52:13 -07:00
Anthony Sottile
a193eab99e
Merge pull request #294 from pre-commit/more_protected_branches
Allow multiple branches to be protected
2018-06-09 11:29:05 -07:00
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