This commit is contained in:
27
mypy.ini
Normal file
27
mypy.ini
Normal file
@@ -0,0 +1,27 @@
|
||||
[mypy]
|
||||
python_version = 3.11
|
||||
ignore_missing_imports = True
|
||||
explicit_package_bases = True
|
||||
namespace_packages = True
|
||||
mypy_path = services
|
||||
exclude = (?x)(
|
||||
tests/
|
||||
| alembic/
|
||||
| \.venv/
|
||||
| venv/
|
||||
| env/
|
||||
| __pycache__/
|
||||
| \.git/
|
||||
)
|
||||
|
||||
# Отключить строгую проверку типов для этого проекта
|
||||
check_untyped_defs = False
|
||||
disallow_untyped_defs = False
|
||||
disallow_incomplete_defs = False
|
||||
no_implicit_optional = False
|
||||
|
||||
[mypy-services.*]
|
||||
ignore_errors = True
|
||||
|
||||
[mypy-tests.*]
|
||||
ignore_errors = True
|
||||
Reference in New Issue
Block a user