chore: добавить конфигурацию flake8 и mypy в pyproject.toml

This commit is contained in:
qwen.ai[bot] 2026-08-12 13:09:23 +00:00
parent 7f4861f153
commit da4396ae07

View file

@ -44,3 +44,15 @@ packages = ["src/netsleuth"]
testpaths = ["tests"]
asyncio_mode = "auto"
filterwarnings = ["error::DeprecationWarning:netsleuth.*"]
[tool.flake8]
max-line-length = 120
extend-ignore = ["E203", "W503"]
exclude = [".git", "__pycache__", ".venv", "build", "dist"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
disallow_untyped_defs = false
ignore_missing_imports = true
exclude = ["tests/"]