mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 12:26:52 +00:00
Merge pull request #382 from pre-commit/all-repos_autofix_mypy-ini
Combine mypy.ini and setup.cfg
This commit is contained in:
commit
45fc394c19
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