It's provided implicitly by the mypy pre-commit hook. But model generation fails on it. https://github.com/pre-commit/mirrors-mypy/blob/master/.pre-commit-hooks.yaml
12 lines
246 B
INI
12 lines
246 B
INI
[mypy]
|
|
python_version = 3.7
|
|
warn_return_any = True
|
|
warn_unused_configs = True
|
|
check_untyped_defs = True
|
|
strict_optional = True
|
|
disallow_any_explicit = True
|
|
show_error_codes = True
|
|
ignore_missing_imports=True
|
|
|
|
[mypy-*.tests.*]
|
|
ignore_errors = True |