Skip to content

Commit 0dee8f6

Browse files
authored
Adjust python-stylecheck to skip pylint C0209 str format hints
We don't want style warnings about anything that requires python3.6+ to address here. Signed-off-by: Jonas Bardino <bardino@science.ku.dk>
1 parent a93a5f5 commit 0dee8f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/python-stylecheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ jobs:
2929
extra-pycodestyle-options: "--max-line-length=80"
3030
extra-flake8-options: "--max-line-length=80"
3131
extra-isort-options: "-m=HANGING_INDENT"
32+
# NOTE: pylint C0209 string format suggestions requires python3.6+ so disable here
33+
# https://pylint.pycqa.org/en/latest/user_guide/messages/convention/consider-using-f-string.html
34+
extra-pylint-options: "--disable=C0209"

0 commit comments

Comments
 (0)