mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
Add flake8-comprehensions linter (#157)
This commit is contained in:
@@ -81,12 +81,13 @@ addopts = "-p no:warnings"
|
||||
ignore = ["E501"]
|
||||
line-length = 80
|
||||
select = [
|
||||
"B", # flake8-bugbear
|
||||
"E", # pycodestyle errors
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"S", # flake8-bandit
|
||||
"W", # pycodestyle warnings
|
||||
"B", # flake8-bugbear
|
||||
"C4", # flake8-comprehensions
|
||||
"E", # pycodestyle errors
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"S", # flake8-bandit
|
||||
"W", # pycodestyle warnings
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
target-version = "py37"
|
||||
|
||||
Reference in New Issue
Block a user