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

21 lines
669 B
INI
Raw Normal View History

[mypy]
#plugins =
# mypy_django_plugin.main
python_version = 3.11
2024-05-25 18:42:58 +03:00
# 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
2024-05-25 18:42:58 +03:00
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"
2024-02-27 02:18:13 +03:00
# Disable some anoying reports, because pyright needs the redundant cast on some cases
# [mypy-tests.*]
# disable_error_code =