2020-09-20 13:59:10 +00:00
|
|
|
.PHONY: tests
|
|
|
|
|
|
|
|
default: build
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f -r build/
|
|
|
|
rm -f -r bin/
|
|
|
|
rm -f -r dist/
|
|
|
|
find . -name '*.pyc' -exec rm -f {} +
|
|
|
|
find . -name '*.pyo' -exec rm -f {} +
|
|
|
|
find . -name '*~' -exec rm -f {} +
|
|
|
|
find . -name '__pycache__' -exec rm -rf {} +
|
|
|
|
find . -name '.pytest_cache' -exec rm -rf {} +
|
|
|
|
|
|
|
|
tests:
|
2023-09-14 21:07:15 +00:00
|
|
|
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude nxc/data/*
|
2020-09-20 13:59:10 +00:00
|
|
|
|
2020-11-15 23:42:28 +00:00
|
|
|
requirements:
|
2020-09-20 14:51:23 +00:00
|
|
|
poetry export --without-hashes -f requirements.txt -o requirements.txt
|
|
|
|
poetry export --without-hashes --dev -f requirements.txt -o requirements-dev.txt
|