File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Makefile with some simple commands to make developer's life easier
2+
3+
4+ install-requirements : install-build-essential
5+ pip install -r requirements.txt
6+
7+ dev/install-requirements : install-requirements
8+ pip install -r requirements.dev.txt
9+
10+ install-build-essential :
11+ sudo apt-get update
12+ sudo apt-get install build-essential
13+
14+ update-setuptools :
15+ pip install --upgrade setuptools wheel
16+
17+ test-unit :
18+ pytest tests
19+ @echo ' unit tests OK'
20+
21+ lint :
22+ pylint cobra
23+ @echo ' lint OK'
24+
25+ lint-minimal :
26+ pylint E cobra
27+ @echo ' lint minimal OK'
28+
29+ typecheck :
30+ mypy cobra
31+ @echo ' typecheck OK'
32+
33+ codestyle :
34+ pycodestyle cobra
35+ @echo ' codestyle OK'
36+
37+ docstyle :
38+ pydocstyle cobra
39+ @echo ' docstyle OK'
40+
41+ code-qa : typecheck codestyle docstyle lint-minimal
Original file line number Diff line number Diff line change 1+ mypy>=0.942
2+ pycodestyle>=2.8.0
3+ pydocstyle>=6.1.1
4+ pylint>=2.13.7
5+ pytest>=7.1.1
6+ pytest-mock>=3.7.0
You can’t perform that action at this time.
0 commit comments