-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 724 Bytes
/
Makefile
File metadata and controls
41 lines (29 loc) · 724 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
32
33
34
35
36
37
38
39
40
41
# Makefile with some simple commands to make developer's life easier
install-requirements: install-build-essential
pip install -r requirements.txt
dev/install-requirements: install-requirements
pip install -r requirements.dev.txt
install-build-essential:
sudo apt-get update
sudo apt-get install build-essential
update-setuptools:
pip install --upgrade setuptools wheel
test-unit:
pytest tests
@echo 'unit tests OK'
lint:
pylint cobra
@echo 'lint OK'
lint-minimal:
pylint E cobra
@echo 'lint minimal OK'
typecheck:
mypy cobra
@echo 'typecheck OK'
codestyle:
pycodestyle cobra
@echo 'codestyle OK'
docstyle:
pydocstyle cobra
@echo 'docstyle OK'
code-qa: typecheck codestyle docstyle lint-minimal