-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlint.sh
More file actions
executable file
·16 lines (13 loc) · 909 Bytes
/
lint.sh
File metadata and controls
executable file
·16 lines (13 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
printf "[FLAKE8: sheetstorm]\n"
flake8 \
--exclude=sheetstorm-deployment/,sheetstorm/settings/,manage.py,employees/migrations,users/migrations,managers/migrations, \
--jobs=4 \
--max-line-length=120 \
--ignore=E124,E126,E128,E131,E156,E201,E221,E222,E241,E265,E271,E272,E701,F405,E501,W503 \
--per-file-ignores=features/steps/user_initialisation_steps.py:F403,F811
printf "\n"
printf "[PYLINT: sheetstorm]\n"
# Find all subdirectories of our python apps and use xargs to pass them as arguments to pylint
./find-files-to-refactor.sh | xargs pylint --rcfile=pylintrc
printf "\n"