Add flake8-sfs
This commit is contained in:
parent
650765a9d3
commit
cb8f919b1f
1 changed files with 44 additions and 60 deletions
|
|
@ -102,6 +102,7 @@ dev = [
|
|||
"flake8-pyproject (>=1.2.4,<2.0.0)",
|
||||
"flake8-pytest-style (>=2.2.0,<3.0.0)",
|
||||
"flake8-quotes (>=3.4.0,<4.0.0)",
|
||||
"flake8-sfs (>=1.0.1,<2.0.0)",
|
||||
"mypy (>=2.4.1,<3.0.0)",
|
||||
]
|
||||
|
||||
|
|
@ -222,6 +223,8 @@ select = [
|
|||
"BLK1", "BLK9",
|
||||
# flake8-pytest-style => enforce a consistent style with pytest
|
||||
"PT0",
|
||||
# flake8-sfs => use f-strings as the only type of string formatting
|
||||
"SFS",
|
||||
]
|
||||
|
||||
# By default, flake8 ignores some errors.
|
||||
|
|
@ -238,6 +241,8 @@ extend-ignore = [
|
|||
"E203", "W503",
|
||||
# Let's not do `@pytest.mark.no_cover()` instead of `@pytest.mark.no_cover`.
|
||||
"PT023",
|
||||
# Allow f-strings as the only type of string formatting.
|
||||
"SFS301",
|
||||
]
|
||||
|
||||
per-file-ignores = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue