mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 04:26:52 +00:00
Combine mypy.ini and setup.cfg
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
6d7906e131
commit
8bb09ce407
2 changed files with 13 additions and 12 deletions
12
mypy.ini
12
mypy.ini
|
|
@ -1,12 +0,0 @@
|
||||||
[mypy]
|
|
||||||
check_untyped_defs = true
|
|
||||||
disallow_any_generics = true
|
|
||||||
disallow_incomplete_defs = true
|
|
||||||
disallow_untyped_defs = true
|
|
||||||
no_implicit_optional = true
|
|
||||||
|
|
||||||
[mypy-testing.*]
|
|
||||||
disallow_untyped_defs = false
|
|
||||||
|
|
||||||
[mypy-tests.*]
|
|
||||||
disallow_untyped_defs = false
|
|
||||||
13
setup.cfg
13
setup.cfg
|
|
@ -69,3 +69,16 @@ exclude =
|
||||||
|
|
||||||
[bdist_wheel]
|
[bdist_wheel]
|
||||||
universal = True
|
universal = True
|
||||||
|
|
||||||
|
[mypy]
|
||||||
|
check_untyped_defs = true
|
||||||
|
disallow_any_generics = true
|
||||||
|
disallow_incomplete_defs = true
|
||||||
|
disallow_untyped_defs = true
|
||||||
|
no_implicit_optional = true
|
||||||
|
|
||||||
|
[mypy-testing.*]
|
||||||
|
disallow_untyped_defs = false
|
||||||
|
|
||||||
|
[mypy-tests.*]
|
||||||
|
disallow_untyped_defs = false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue