diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b2e05643..36ecf79b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: doc/en/example/py2py3/test_py2.py repos: - repo: https://github.com/ambv/black - rev: 18.6b4 + rev: 18.9b0 hooks: - id: black args: [--safe, --quiet] @@ -13,7 +13,7 @@ repos: additional_dependencies: [black==18.9b0] language_version: python3 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.0.0 + rev: v2.1.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -27,17 +27,17 @@ repos: - id: flake8 language_version: python3 - repo: https://github.com/asottile/reorder_python_imports - rev: v1.3.3 + rev: v1.3.5 hooks: - id: reorder-python-imports args: ['--application-directories=.:src'] - repo: https://github.com/asottile/pyupgrade - rev: v1.10.1 + rev: v1.11.1 hooks: - id: pyupgrade args: [--keep-percent-format] - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.1.0 + rev: v1.2.0 hooks: - id: rst-backticks - repo: local diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py index 051eda79d..23e09ff40 100644 --- a/src/_pytest/config/__init__.py +++ b/src/_pytest/config/__init__.py @@ -437,7 +437,7 @@ class PytestPluginManager(PluginManager): and not self._using_pyargs ): from _pytest.deprecated import ( - PYTEST_PLUGINS_FROM_NON_TOP_LEVEL_CONFTEST + PYTEST_PLUGINS_FROM_NON_TOP_LEVEL_CONFTEST, ) fail(