You've already forked snikket-web-portal
snikket_web can now be fully configured via the environment alone, no extra files needed. It is still supported to inject a python file to generate environment variables though, which may be useful for generating and reloading a secret key.
35 lines
764 B
INI
35 lines
764 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
|
|
|
|
[mypy-environ.*]
|
|
ignore_missing_imports = True
|