Skip to content

Commit c25e85a

Browse files
authored
Adjust python-stylecheck for longer lines and hanging indent imports
Allow 80 char lines and prefer hanging indent for imports instead of the `isort` default of grid with parentheses. Signed-off-by: Jonas Bardino <bardino@science.ku.dk>
1 parent 8439f18 commit c25e85a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/python-stylecheck.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ jobs:
2626
uses: marian-code/python-lint-annotate@v4
2727
with:
2828
python-root-list: ${{ env.CHANGED_FILES }}
29+
extra-pycodestyle-options: "--max-line-length=80"
30+
extra-isort-options: "-m=HANGING_INDENT"

0 commit comments

Comments
 (0)