File size: 425 Bytes
5953ef9 |
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 |
all: format clean test pre
echo 'finished'
.PHONY: format
format:
isort --profile black --filter-files .
black .
.PHONY: test
test:
coverage run --source src -m pytest -vv .
coverage report -m
flake8
.PHONY: pre
pre:
pre-commit run --all-files
.PHONY: clean
clean:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info/
rm -f .coverage
rm -f coverage.xml
find . | grep -E '(__pycache__|\.pyc|\.pyo$$)' | xargs rm -rf
|