fix: add ruff per-file-ignores for tests and re-exports
This commit is contained in:
@@ -92,6 +92,12 @@ ignore = [
|
|||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
known-first-party = ["fastapi_traffic"]
|
known-first-party = ["fastapi_traffic"]
|
||||||
|
|
||||||
|
[tool.ruff.lint.per-file-ignores]
|
||||||
|
"tests/*" = ["ARG001", "ARG002"]
|
||||||
|
"examples/*" = ["ARG001"]
|
||||||
|
"fastapi_traffic/__init__.py" = ["F401"]
|
||||||
|
"fastapi_traffic/backends/__init__.py" = ["F401"]
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
pythonVersion = "3.10"
|
pythonVersion = "3.10"
|
||||||
typeCheckingMode = "strict"
|
typeCheckingMode = "strict"
|
||||||
|
|||||||
Reference in New Issue
Block a user