mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-22 14:29:18 -06:00
* add projects list * new project page * mypy * allow '.' in github identifiers * implement project create * project settings * disallow anons from being project members * uploadable project icon * docker attempt * fix tests * add tests * add description form * refactor to add useEntity and FieldSet * move FieldSet out of subdirectory * use same page for project tabs * scroll up to UnderlineNav when tab changes * stylelint * configure vscode mypy extension * mypy * fix mypy and dmypy dmypy does not support follow_imports=silent. Instead we explicitly disable most checks for asm_differ and m2c, which has the same effect * remove redundant mypy flags * FieldSet style tweaks * give UnderlineNav horiz padding * fix swr mutate of project header * few tweaks to help docker (#550) * eth changes * use POST/DELETE rather than PUT for project members * add migration * fix pr creation * simplify project platform derivation Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com> Co-authored-by: Ethan Roseman <ethteck@gmail.com>
63 lines
1.5 KiB
INI
63 lines
1.5 KiB
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
|
|
|
|
plugins =
|
|
mypy_django_plugin.main,
|
|
mypy_drf_plugin.main
|
|
|
|
mypy_path = $MYPY_CONFIG_FILE_DIR
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = decompme.settings
|
|
|
|
[mypy-m2c.*]
|
|
implicit_reexport = True
|
|
check_untyped_defs = True
|
|
disallow_any_generics = False
|
|
disallow_incomplete_defs = False
|
|
disallow_subclassing_any = False
|
|
disallow_untyped_calls = False
|
|
disallow_untyped_decorators = False
|
|
disallow_untyped_defs = False
|
|
no_implicit_optional = False
|
|
warn_unused_ignores = False
|
|
warn_unreachable = False
|
|
warn_no_return = False
|
|
|
|
[mypy-asm_differ.*]
|
|
implicit_reexport = True
|
|
check_untyped_defs = True
|
|
disallow_any_generics = False
|
|
disallow_incomplete_defs = False
|
|
disallow_subclassing_any = False
|
|
disallow_untyped_calls = False
|
|
disallow_untyped_decorators = False
|
|
disallow_untyped_defs = False
|
|
no_implicit_optional = False
|
|
warn_unused_ignores = False
|
|
warn_unreachable = False
|
|
warn_no_return = False
|