mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
Merge pull request #219 from pre-commit/upgrade_add_trailing_comma_more
Upgrade pre-commit hooks
This commit is contained in:
commit
feb71798bf
2 changed files with 6 additions and 6 deletions
|
|
@ -13,20 +13,20 @@
|
|||
- id: requirements-txt-fixer
|
||||
- id: flake8
|
||||
- repo: https://github.com/pre-commit/pre-commit
|
||||
sha: v0.15.0
|
||||
sha: v0.15.2
|
||||
hooks:
|
||||
- id: validate_config
|
||||
- id: validate_manifest
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
sha: v0.3.1
|
||||
sha: v0.3.5
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
language_version: python2.7
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
sha: v1.1.2
|
||||
sha: v1.1.3
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
sha: v0.4.1
|
||||
sha: v0.5.1
|
||||
hooks:
|
||||
- id: add-trailing-comma
|
||||
|
|
|
|||
|
|
@ -23,14 +23,14 @@ from testing.util import get_resource_path
|
|||
'AWS_DUMMY_KEY': '/foo', 'AWS_CONFIG_FILE': '/bar',
|
||||
'AWS_CREDENTIAL_FILE': '/baz',
|
||||
},
|
||||
{'/bar', '/baz'}
|
||||
{'/bar', '/baz'},
|
||||
),
|
||||
(
|
||||
{
|
||||
'AWS_CONFIG_FILE': '/foo', 'AWS_CREDENTIAL_FILE': '/bar',
|
||||
'AWS_SHARED_CREDENTIALS_FILE': '/baz',
|
||||
},
|
||||
{'/foo', '/bar', '/baz'}
|
||||
{'/foo', '/bar', '/baz'},
|
||||
),
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue