mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
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:
7
tests/pyproject.toml
Normal file
7
tests/pyproject.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[tool.ruff]
|
||||
extend = "../pyproject.toml"
|
||||
ignore = ["S101"]
|
||||
|
||||
[tool.ruff.isort]
|
||||
known-first-party = ["examples", "fastapi_cache"]
|
||||
|
||||
Reference in New Issue
Block a user