-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_linters
executable file
·25 lines (17 loc) · 908 Bytes
/
run_linters
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
echo "##########pylint###################" > lintout
pylint --rcfile .pylintrc -rn neighborplot/*.py >> lintout
echo "#########pycodestle#########################" >> lintout
pycodestyle neighborplot/*.py >> lintout
echo "#######pydocstyle########################" >> lintout
pydocstyle neighborplot/*.py >> lintout
echo "#############TESTDIR##################" >> lintout
# Ignore too many public methods because its a testing class.
# Ignore catching too general of an exception because not sure what exception
# might be thrown on failure.
pylint --disable R0904,W0703 -rn neighborplot/tests/test_identity.py >> lintout
echo "############pycodestle###################" >> lintout
pycodestyle --first neighborplot/tests/test_identity.py >> lintout
echo "##############pydocstyle#################" >> lintout
pydocstyle neighborplot/tests/test_identity.py >> lintout
vim lintout