-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (21 loc) · 684 Bytes
/
Makefile
File metadata and controls
31 lines (21 loc) · 684 Bytes
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
run:
PYTHONPATH=. PYTHONDONTWRITEBYTECODE=1 python main.py
venv:
python3 -m venv venv
reset: clean upgrade
clean:
pip uninstall -y -r requirements.txt
upgrade:
pip install --upgrade pip wheel setuptools
pip install --upgrade --upgrade-strategy eager --no-cache-dir --prefer-binary -r requirements.txt
outdated:
pip list --outdated
lint: autopep8 pycodestyle pylint
autopep8:
PYTHONPATH=. autopep8 -i -r espinenode --global-config setup.cfg
pycodestyle:
PYTHONPATH=. pycodestyle espinenode
pylint:
PYTHONPATH=. pylint --recursive=y --fail-under=9.5 espinenode
test:
PYTHONPATH=. PYTHONDONTWRITEBYTECODE=1 pytest --cov=espinenode --cov-report=term --cov-report=lcov