source:
rtems-central/Makefile
@
dfca4bc
Last change on this file since dfca4bc was d854464, checked in by Sebastian Huber <sebastian.huber@…>, on 03/09/20 at 21:25:51 | |
---|---|
|
|
File size: 334 bytes |
Line | |
---|---|
1 | all: *.py rtemsqual/*.py | check-env |
2 | coverage run -m pytest tests |
3 | yapf -i $^ tests/*.py |
4 | flake8 $^ |
5 | mypy $^ |
6 | pylint $^ |
7 | |
8 | check-env: |
9 | test -n "$$VIRTUAL_ENV" |
10 | |
11 | coverage-report: |
12 | coverage report -m --omit 'env/*' |
13 | |
14 | .PONY: env |
15 | |
16 | env: |
17 | python3 -m venv env |
18 | . env/bin/activate && pip install --upgrade pip && pip install -r requirements.txt |
Note: See TracBrowser
for help on using the repository browser.