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