Skip to content

Commit ca19f9c

Browse files
authored
Update main.yml
1 parent 3e76a24 commit ca19f9c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ jobs:
3131

3232
- name: Run Linter
3333
run: |
34-
pwd
34+
flake8 . \
35+
--max-line-length=120 \
36+
--ignore=F401,E402,W292,W293,E501 \
37+
--exclude=venv,.git,__pycache__,migrations
38+
#pwd
3539
# This command finds all Python files recursively and runs flake8 on them
36-
find . -name "*.py" -exec flake8 {} +
40+
#find . -name "*.py" -exec flake8 {} +
3741
echo "Linted all the python files successfully"
3842
3943
lint_js:

0 commit comments

Comments
 (0)