mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2026-03-21 20:18:38 -06:00
Merge pull request #164 from TheNetworkGuy/test-linting-exceptions
🔧 Specifically ignore assertion in tests instead of entire codebase
This commit is contained in:
+8
-8
@@ -20,8 +20,6 @@ ignore = [
|
||||
"PLR0915",
|
||||
# Ignore too many branches
|
||||
"PLR0912",
|
||||
# Ignore use of assert
|
||||
"S101",
|
||||
]
|
||||
|
||||
select = [
|
||||
@@ -65,10 +63,12 @@ select = [
|
||||
"RUF",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=9.0.2",
|
||||
"pytest-cov>=7.0.0",
|
||||
"ruff>=0.14.14",
|
||||
"ty>=0.0.14",
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/*" = [
|
||||
# Ignore use of assert
|
||||
"S101",
|
||||
]
|
||||
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["pytest>=9.0.2", "pytest-cov>=7.0.0", "ruff>=0.14.14", "ty>=0.0.14"]
|
||||
|
||||
Reference in New Issue
Block a user