-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (30 loc) · 702 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (30 loc) · 702 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
pytest-coverage:
pytest -vv --cov --cov-report=term-missing
pytest-collect:
pytest --collect-only
check-build:
python3 setup.py bdist_wheel sdist
check-bdist:
python3 setup.py bdist_wheel
check-sdist:
python3 setup.py sdist
mypy:
mypy .
ruff:
ruff check .
ruff-fix:
ruff check --fix .
pre-push: mypy ruff
venv-remove:
rm -rf .venv
venv-deactivate:
deactivate
venv-activate:
source .venv/bin/activate
venv-setup:
python3 -m venv .venv
clean-package:
rm -Rf ./build; rm -Rf ./dist; rm -Rf ./.eggs; rm -Rf ./*.egg-info; rm -Rf ./**/*.egg-info; rm -Rf ./.coverage;
clean-pycache:
rm -Rf ./.pytest_cache; rm -Rf ./**/__pycache__; rm -Rf ./**/**/__pycache__;
clean: clean-package clean-pycache