Merge pull request #2086 from pre-commit/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Anthony Sottile 2021-10-11 17:55:17 -07:00 committed by GitHub
commit 2ac26e221c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -12,7 +12,7 @@ repos:
- id: requirements-txt-fixer - id: requirements-txt-fixer
- id: double-quote-string-fixer - id: double-quote-string-fixer
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 3.9.2 rev: 4.0.1
hooks: hooks:
- id: flake8 - id: flake8
additional_dependencies: [flake8-typing-imports==1.10.0] additional_dependencies: [flake8-typing-imports==1.10.0]
@ -40,11 +40,11 @@ repos:
- id: add-trailing-comma - id: add-trailing-comma
args: [--py36-plus] args: [--py36-plus]
- repo: https://github.com/asottile/setup-cfg-fmt - repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.17.0 rev: v1.18.0
hooks: hooks:
- id: setup-cfg-fmt - id: setup-cfg-fmt
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910 rev: v0.910-1
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: [types-all] additional_dependencies: [types-all]

View file

@ -17,6 +17,7 @@ classifiers =
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy Programming Language :: Python :: Implementation :: PyPy

View file

@ -111,8 +111,8 @@ def test_local_conda_additional_dependencies(store):
'name': 'local-conda', 'name': 'local-conda',
'entry': 'python', 'entry': 'python',
'language': 'conda', 'language': 'conda',
'args': ['-c', 'import tzdata; print("OK")'], 'args': ['-c', 'import botocore; print("OK")'],
'additional_dependencies': ['python-tzdata'], 'additional_dependencies': ['botocore'],
}], }],
} }
hook = _get_hook(config, store, 'local-conda') hook = _get_hook(config, store, 'local-conda')