Skip to content

Commit

Permalink
Exclude docs / tests / setup.py from mypy pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aliev committed Aug 9, 2021
1 parent 25cb235 commit 3302b7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ repos:
rev: v0.910
hooks:
- id: mypy
exclude: ^(docs/|setup\.py|tests/)

- repo: https://github.com/pycqa/flake8
rev: 3.9.2
Expand Down
6 changes: 0 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ warn_no_return = False
disallow_untyped_defs = False
allow_redefinition = True

[mypy-tests.*]
ignore_errors = True

[mypy-setup]
ignore_errors = True

[bdist_wheel]
universal = 1

Expand Down

0 comments on commit 3302b7b

Please sign in to comment.