Move the mypy config
This commit is contained in:
parent
03617d5bbb
commit
74ddb54772
1 changed files with 44 additions and 48 deletions
48
setup.cfg
48
setup.cfg
|
|
@ -253,51 +253,3 @@ use_parentheses = true
|
|||
# Source: https://google.github.io/styleguide/pyguide.html#313-imports-formatting
|
||||
force_single_line = true
|
||||
single_line_exclusions = typing
|
||||
|
||||
|
||||
[mypy]
|
||||
cache_dir = .cache/mypy
|
||||
|
||||
# Check the interior of functions without type annotations.
|
||||
check_untyped_defs = true
|
||||
|
||||
# Disallow generic types without explicit type parameters.
|
||||
disallow_any_generics = true
|
||||
|
||||
# Disallow functions with incomplete type annotations.
|
||||
disallow_incomplete_defs = true
|
||||
|
||||
# Disallow calling functions without type annotations.
|
||||
disallow_untyped_calls = true
|
||||
|
||||
# Disallow functions without type annotations (or incomplete annotations).
|
||||
disallow_untyped_defs = true
|
||||
|
||||
[mypy-folium.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-geopy.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-googlemaps.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-matplotlib.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-nox.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-numpy.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-ordered_set.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-packaging]
|
||||
ignore_missing_imports = true
|
||||
[mypy-pandas]
|
||||
ignore_missing_imports = true
|
||||
[mypy-pytest]
|
||||
ignore_missing_imports = true
|
||||
[mypy-rpy2.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-sqlalchemy.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-statsmodels.*]
|
||||
ignore_missing_imports = true
|
||||
[mypy-utm.*]
|
||||
ignore_missing_imports = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue