Skip to content

Commit e7a2a37

Browse files
authored
Update python-stylecheck to avoid overlap with lint action
Basically just disables `flake8` and `pylint` here as they are already active in the dedicated lint action and often produce more noise than added value here with the other tools active. Signed-off-by: Jonas Bardino <bardino@science.ku.dk>
1 parent 0dee8f6 commit e7a2a37

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/python-stylecheck.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ jobs:
2727
with:
2828
python-root-list: ${{ env.CHANGED_FILES }}
2929
extra-pycodestyle-options: "--max-line-length=80"
30-
extra-flake8-options: "--max-line-length=80"
3130
extra-isort-options: "-m=HANGING_INDENT"
31+
# NOTE: we disable flake8 and pylint here to avoid overlap with lint action and limit noise
32+
use-flake8: false
33+
extra-flake8-options: "--max-line-length=80"
34+
use-pylint: false
3235
# NOTE: pylint C0209 string format suggestions requires python3.6+ so disable here
3336
# https://pylint.pycqa.org/en/latest/user_guide/messages/convention/consider-using-f-string.html
3437
extra-pylint-options: "--disable=C0209"

0 commit comments

Comments
 (0)