Add flake8-sfs

This commit is contained in:
Alexander Hess 2026-11-28 03:34:40 +01:00
commit cb8f919b1f
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -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 = [