mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add (mostly disabled) mypy configs.
We're missing a lot of checking right now. Most of it requires additional cleanup. For now I've enabled what I could and will follow up to clean up and enable more checking.
This commit is contained in:
parent
7983cd8d62
commit
29753a6aa9
16
mypy.ini
16
mypy.ini
@ -1,8 +1,22 @@
|
||||
[mypy]
|
||||
# TODO: Cleanup so we can enable the checks commented out here.
|
||||
# check_untyped_defs = True
|
||||
# disallow_any_decorated = True
|
||||
# disallow_any_expr = True
|
||||
# disallow_any_generics = True
|
||||
# disallow_any_unimported = True
|
||||
disallow_untyped_decorators = True
|
||||
# disallow_untyped_defs = True
|
||||
follow_imports = silent
|
||||
# implicit_reexport = False
|
||||
namespace_packages = True
|
||||
no_implicit_optional = True
|
||||
warn_redundant_casts = True
|
||||
# warn_return_any = True
|
||||
# warn_unreachable = True
|
||||
warn_unused_ignores = True
|
||||
|
||||
[mypy-dcs.*]
|
||||
follow_imports=silent
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-faker.*]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user