You've already forked snikket-web-portal
- Avoid fighting import cycles using a factory function - Collapse useless subpackages into simple modules - Move flask plugins / infrastructure in own module - Refactor how blueprints are used to localize information about URL routing to app factory
32 lines
716 B
INI
32 lines
716 B
INI
[mypy]
|
|
python_version = 3.7
|
|
#warn_return_any = True
|
|
warn_unused_configs = True
|
|
disallow_untyped_calls = True
|
|
disallow_untyped_defs = True
|
|
disallow_incomplete_defs = True
|
|
#check_untyped_defs = True
|
|
disallow_untyped_decorators = True
|
|
#disallow_any_unimported = True
|
|
#disallow_any_expr = True
|
|
#disallow_any_decorated = True
|
|
disallow_any_explicit = False
|
|
#disallow_any_generics = True
|
|
disallow_subclassing_any = True
|
|
no_implicit_optional = True
|
|
warn_redundant_casts = True
|
|
warn_unused_ignores = True
|
|
warn_unreachable = True
|
|
|
|
[mypy-hsluv.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-flask_wtf.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-flask_babel.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-wtforms.*]
|
|
ignore_missing_imports = True
|