mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
21 lines
669 B
INI
21 lines
669 B
INI
[mypy]
|
|
#plugins =
|
|
# mypy_django_plugin.main
|
|
python_version = 3.11
|
|
|
|
# Exclude all .*/transports/.*/scripts/.* directories and all tests
|
|
exclude = (.*/transports/.*/scripts/.*|.*/tests/.*)
|
|
|
|
mypy_path = $MYPY_CONFIG_FILE_DIR/src
|
|
# Call overload because ForeignKey fields are not being recognized with django-types
|
|
disable_error_code = import, no-any-return, misc, redundant-cast, call-overload, no-untyped-call, no-untyped-call
|
|
strict = True
|
|
implicit_reexport = true
|
|
|
|
[mypy.plugins.django-stubs]
|
|
django_settings_module = "server.settings"
|
|
|
|
# Disable some anoying reports, because pyright needs the redundant cast on some cases
|
|
# [mypy-tests.*]
|
|
# disable_error_code =
|