Skip to content

Commit 433f90a

Browse files
committed
Add --show-source flag to flake8 commad in python:lint task
This will show the related source code in the output when there is a rule violation in the repository's Python code.
1 parent 83fd3dc commit 433f90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ tasks:
169169
desc: Lint Python code
170170
cmds:
171171
- poetry install --no-root
172-
- poetry run flake8
172+
- poetry run flake8 --show-source
173173

174174
python:format:
175175
desc: Automatically formats Python files

0 commit comments

Comments
 (0)