Skip to content

Commit

Permalink
add flake8-annotations to flake8 pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
finswimmer committed Nov 15, 2021
1 parent b7e82ba commit 17e23a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
11 changes: 2 additions & 9 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
7 changes: 0 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17e23a7

Please sign in to comment.