mirror of
https://github.com/Horizontal42/netsleuth.git
synced 2026-11-11 02:12:04 +03:00
chore: добавить конфигурацию flake8 и mypy в pyproject.toml
This commit is contained in:
parent
7f4861f153
commit
da4396ae07
1 changed files with 12 additions and 0 deletions
|
|
@ -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/"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue