This commit is contained in:
10
mypy.ini
10
mypy.ini
@@ -13,8 +13,14 @@ plugins = sqlalchemy.ext.mypy.plugin
|
||||
# Игнорируем missing imports для внешних библиотек
|
||||
ignore_missing_imports = True
|
||||
|
||||
# Временно исключаем только тесты и алембик
|
||||
exclude = ^(tests/.*)$
|
||||
# Оптимизации производительности
|
||||
cache_dir = .mypy_cache
|
||||
sqlite_cache = True
|
||||
incremental = False
|
||||
show_error_codes = True
|
||||
|
||||
# Исключаем тесты и тяжелые зависимости
|
||||
exclude = ^(tests/.*|.*transformers.*|.*torch.*|.*huggingface.*|.*safetensors.*|.*PIL.*|.*google.*|.*sentence_transformers.*|.*dump/.*|.*node_modules/.*|.*dist/.*)$
|
||||
|
||||
# Настройки для конкретных модулей
|
||||
[mypy-graphql.*]
|
||||
|
||||
Reference in New Issue
Block a user