diff --git a/.flake8 b/.flake8 index aa01edb1c..ab77d890c 100644 --- a/.flake8 +++ b/.flake8 @@ -9,18 +9,11 @@ per-file-ignores = exclude = .git __pycache__ - setup.py build dist - releases .venv .tox - .mypy_cache .pytest_cache - .vscode .github - poetry_core/_vendor/ - poetry_core/utils/_compat.py - poetry_core/utils/_typing.py - tests/**/fixtures/ - _vendor + poetry/core/_vendor/* + tests/**/fixtures/* diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 972038f17..55f27ff8d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,13 +10,6 @@ repos: hooks: - id: flake8 additional_dependencies: [flake8-annotations] - exclude: | - (?x)( - ^poetry/core/utils/_typing.py$ - | ^poetry/core/utils/_compat.py$ - | ^poetry/core/_vendor - | ^tests/.*/fixtures/ - ) - repo: https://github.com/pycqa/isort rev: 5.9.3