Logo
Explore Help
Sign In
Public/fastapi-cache
1
0
Fork 0
You've already forked fastapi-cache
mirror of https://github.com/long2ice/fastapi-cache.git synced 2026-03-25 04:57:54 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
00d34e4ad80a5fc3200d37cc64d0a8a384ec6a0a
fastapi-cache/tests/pyproject.toml

11 lines
181 B
TOML
Raw Normal View History

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.
2023-05-16 13:42:12 +01:00
[tool.ruff]
extend = "../pyproject.toml"
Add pytest-style linting (#159) This does mean we need to tell pyright that the init_cache auto-use fixture is still being used even though it now has a leading underscore.
2023-05-16 13:45:26 +01:00
extend-select = [
"PT", # flake8-pytest-style
]
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.
2023-05-16 13:42:12 +01:00
ignore = ["S101"]
[tool.ruff.isort]
known-first-party = ["examples", "fastapi_cache"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 32ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API