-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
24 lines (19 loc) · 871 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
install:
python3 -m pip install --upgrade pip &&\
python3 -m pip install -r ./config/requirements.txt &&\
pip3 install -r ./config/requirements.txt
install_raspberrypi:
python3 -m pip install -r ./config/requirements_raspberrypi.txt &&\
pip3 install -r ./config/requirements_raspberrypi.txt
lint:
find . -type f -name "*.py" | xargs pylint
bandit:
bandit -r . --configfile ./config/bandit.yml -f html -o static/reports/bandit_report.html -v
flake8:
flake8 --format=html --htmldir='static/reports/' --statistics &&\
mv static/reports/index.html static/reports/flake8_report.html
check:
flake8 --format=html --htmldir='static/reports/' --statistics
mv static/reports/index.html static/reports/flake8_report.html
find . -type f -name "*.py" | xargs pylint
bandit -r . --configfile ./config/bandit.yml -f html -o static/reports/bandit_report.html -v