mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
Add pyupgrade linter
This ensures we use the best syntax for the minimal Python version used. The linter found one issue, fixed with the auto-fixer.
This commit is contained in:
@@ -86,6 +86,7 @@ select = [
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"W", # pycodestyle warnings
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
target-version = "py37"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user