Commit graph

467 commits

Author SHA1 Message Date
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
Anthony Sottile
93f319c1f8 Fix no-commit-to-branch when not on a branch 2018-02-19 12:56:14 -08:00
Anthony Sottile
2f1e5e2abf
Merge pull request #261 from pre-commit/all-repos_autofix_all-repos-sed
Change ignored cache dir for pytest 3.4.0
2018-02-01 12:22:22 -08:00
Anthony Sottile
326c18e487 Change ignored cache dir for pytest 3.4.0
Committed via https://github.com/asottile/all-repos
2018-02-01 11:15:36 -08:00
Anthony Sottile
79915aa6ef
Merge pull request #260 from PVSec/master
Fix for issue #258
2018-01-26 15:34:24 -08:00
Pablo Vega
97d838f792 dding the file aws_config_without_secrets_with_spaces.ini for new test case 2018-01-26 15:22:32 -08:00
Pablo Vega
7c631b3b79 Adding a test for detect_aws_credentials when key contains spaces 2018-01-26 15:19:01 -08:00
Pablo Vega
83fca4c614 Adding a check to make sure either spaces or null values are not mistakenly added into the key variable 2018-01-26 00:28:39 -08:00
Anthony Sottile
e19917ae62
Merge pull request #259 from pre-commit/all-repos_autofix_all-repos-sed
Replace deprecated yield_fixture with fixture
2018-01-21 16:27:06 -08:00
Anthony Sottile
4ab791497c Replace deprecated yield_fixture with fixture
Committed via https://github.com/asottile/all-repos
2018-01-21 15:31:23 -08:00
Anthony Sottile
0ddb3b8527 v1.2.0 2018-01-13 17:36:06 -08:00
Anthony Sottile
b78afdeaec
Merge pull request #256 from nicain/master
Update detect_private_key.py
2018-01-13 17:27:24 -08:00
nicain
70ee59f9e6
Update detect_private_key.py 2018-01-13 17:16:50 -08:00
Anthony Sottile
cf04ab0186
Merge pull request #254 from cas--/refactor/pretty-format-json
Refactor/pretty format json
2017-12-11 08:33:13 -08:00
Anthony Sottile
3e1b954a6e Add six back to setup.py 2017-12-11 07:30:08 -08:00
Calum Lind
5b6ddaf9f7 Fix pretty_format_json to use int indent
The indent parameter for json should be integer and under Python2 is
will raise an error if not. So switch from str to int and mention
default value in help text.
2017-12-10 22:33:33 +00:00
Calum Lind
00974efa31 Remove pretty_format_json simplejson dependency
* The simplejson module is only needed for <=py25 so replace with builtin json.
 * Replace six dependecy for simple Py2 check for convertion to unicode.
 * Cleanup quotes.
2017-12-10 22:33:33 +00:00
Anthony Sottile
f3ff3316a3
Merge pull request #251 from benwebber/fix/check-builtin-literals-attributes
check-builtin-literals: Ignore function attribute calls
2017-12-10 14:10:22 -08:00
Anthony Sottile
1f262dab15
Document minimum version required for git-lfs
Resolves #252
2017-12-04 17:28:46 -08:00