1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00
openuds/server/mypy.ini
2024-02-29 01:33:45 +01:00

20 lines
585 B
INI

[mypy]
#plugins =
# mypy_django_plugin.main
# Exclude all .*/transports/.*/scripts/.* directories
exclude = .*/transports/.*/scripts/.*
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
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 =