Skip to content

Commit 28ee74c

Browse files
committed
fix: disable the W1203 pylint error.
The rule is deprecated in favor of using f-strings pylint-dev/pylint#2354
1 parent f15ddf3 commit 28ee74c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ dlint = ["+*"]
9696
pylint = [
9797
"+*",
9898
"-C0411", # %s should be placed before %s,
99-
# see https://github.com/PyCQA/pylint/issues/2175 and https://github.com/PyCQA/pylint/issues/1797
99+
# see https://github.com/PyCQA/pylint/issues/2175 and https://github.com/PyCQA/pylint/issues/1797
100+
"-W1203", # Use %s formatting in logging functions. Deprecated rule in favor of
101+
# f-strings
100102
]
101103
mccabe = ["+*"]
102104
pep8-naming = ["+*"]

0 commit comments

Comments
 (0)