-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 870 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 870 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
codespell:
codespell -w $(shell git ls-files ':!streamflow/cwl/antlr')
codespell-check:
codespell $(shell git ls-files ':!streamflow/cwl/antlr')
coverage.xml: testcov
coverage xml
coverage-report: testcov
coverage report
format:
ruff check --fix streamflow tests docs/source/conf.py docs/tests
black --target-version py310 streamflow tests docs/source/conf.py docs/tests
format-check:
ruff check streamflow tests docs/source/conf.py docs/tests
black --target-version py310 --diff --check streamflow tests docs/source/conf.py docs/tests
pyupgrade:
pyupgrade --py3-only --py310-plus $(shell git ls-files '*.py' ':!streamflow/cwl/antlr')
test:
python -m pytest -rs ${PYTEST_EXTRA}
testcov:
python -m pytest -rs --cov --junitxml=junit.xml -o junit_family=legacy --cov-report= ${PYTEST_EXTRA}
typing:
mypy streamflow tests docs/source/conf.py docs/tests