mirror of
https://github.com/decompme/decomp.me.git
synced 2026-05-04 22:11:58 -05:00
796a5f4746
* Backend updates, mypy fixes * new migration (oops), some fixes * Frontend updates * cleanup * Prevent problems panel from starting open if there are no problems (fixes #703) * update again * oopz * stylelint * Update checkout version * Fix test * Fix test - device.ts still being used on the server :/ * fix cod
39 lines
829 B
INI
39 lines
829 B
INI
[mypy]
|
|
# The mypy configurations: https://mypy.readthedocs.io/en/latest/config_file.html
|
|
python_version = 3.9
|
|
|
|
check_untyped_defs = True
|
|
disallow_any_generics = True
|
|
disallow_untyped_calls = True
|
|
disallow_untyped_decorators = True
|
|
ignore_errors = False
|
|
ignore_missing_imports = True
|
|
implicit_reexport = False
|
|
strict_optional = True
|
|
strict_equality = True
|
|
no_implicit_optional = True
|
|
warn_unused_ignores = True
|
|
warn_redundant_casts = True
|
|
warn_unused_configs = True
|
|
warn_unreachable = True
|
|
warn_no_return = True
|
|
namespace_packages = True
|
|
disallow_untyped_defs = True
|
|
|
|
files =
|
|
coreapp/**/*.py,
|
|
decompme/**/*.py
|
|
|
|
exclude =
|
|
compilers,
|
|
manage.py
|
|
|
|
plugins =
|
|
mypy_django_plugin.main,
|
|
mypy_drf_plugin.main
|
|
|
|
mypy_path = $MYPY_CONFIG_FILE_DIR
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = decompme.settings
|