mirror of
https://github.com/Horizontal42/netsleuth.git
synced 2026-11-10 23:52:04 +03:00
feat: добавить ruff линтер и pytest-benchmark в dev-зависимости
This commit is contained in:
parent
34a0e193ac
commit
39cb91e34d
1 changed files with 12 additions and 0 deletions
|
|
@ -31,8 +31,20 @@ dev = [
|
||||||
"pytest>=8",
|
"pytest>=8",
|
||||||
"pytest-asyncio>=0.23",
|
"pytest-asyncio>=0.23",
|
||||||
"pytest-httpx>=0.30",
|
"pytest-httpx>=0.30",
|
||||||
|
"pytest-benchmark>=4.0",
|
||||||
|
"ruff>=0.3",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
target-version = "py311"
|
||||||
|
line-length = 120
|
||||||
|
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM"]
|
||||||
|
ignore = ["E501"]
|
||||||
|
exclude = [".git", "__pycache__", ".venv", "build", "dist", "tests/"]
|
||||||
|
|
||||||
|
[tool.ruff.per-file-ignores]
|
||||||
|
"tests/*" = ["S101", "PLR2004"]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue