Give tests and examples separate ruff configs (#158)

This allows more fine-grained lint rule adjustments, and allows
the examples to treat fastapi_cache as a 'third party' module, just
like users of the library would use it.
This commit is contained in:
Martijn Pieters
2023-05-16 13:42:12 +01:00
committed by GitHub
parent d938bbe4d2
commit 230c24a4e0
5 changed files with 18 additions and 12 deletions

View File

@@ -92,9 +92,6 @@ select = [
]
target-version = "py37"
[tool.ruff.per-file-ignores]
"tests/**/*.py" = ["S101"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"