forked from gkhayes/mlrose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linter.sh
executable file
·43 lines (34 loc) · 1.41 KB
/
linter.sh
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
echo "Starting lint on algorithms.py"
pylint algorithms.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle algorithms.py
flake8 algorithms.py
echo "Starting lint on decay.py"
pylint decay.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle decay.py
flake8 decay.py
echo "Starting lint on fitness.py"
pylint fitness.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle fitness.py
flake8 fitness.py
echo "Starting lint on opt_probs.py"
pylint opt_probs.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle opt_probs.py
flake8 opt_probs.py
echo "Starting lint on activation.py"
pylint activation.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle activation.py
flake8 activation.py
echo "Starting lint on test_activation.py"
pylint test_activation.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle test_activation.py
flake8 test_activation.py
echo "Starting lint on test_decay.py"
pylint test_decay.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle test_decay.py
flake8 test_decay.py
echo "Starting lint on test_fitness.py"
pylint test_fitness.py --score=no --disable=R0201,R0902,R0903,R0904,R0913,R0914,C0103,C1801
pycodestyle test_fitness.py
flake8 test_fitness.py
echo "Finished linting all files"