2021-07-16 06:05:01 +00:00
|
|
|
PWD = $(shell pwd)
|
|
|
|
|
2023-03-01 21:43:08 +00:00
|
|
|
check:
|
|
|
|
flake8
|
|
|
|
ruff check -q .
|
2023-06-13 23:05:14 +00:00
|
|
|
black --check .
|
2023-07-21 09:30:59 +00:00
|
|
|
pytest -q
|
|
|
|
|
2023-03-01 21:43:08 +00:00
|
|
|
|
2021-07-16 06:05:01 +00:00
|
|
|
clean:
|
|
|
|
rm -rf $(PWD)/build $(PWD)/dist $(PWD)/mvt.egg-info
|
|
|
|
|
|
|
|
dist:
|
|
|
|
python3 setup.py sdist bdist_wheel
|
|
|
|
|
|
|
|
upload:
|
|
|
|
python3 -m twine upload dist/*
|
2022-07-07 10:31:35 +00:00
|
|
|
|
|
|
|
test-upload:
|
|
|
|
python3 -m twine upload --repository testpypi dist/*
|
2022-08-12 14:20:16 +00:00
|
|
|
|
|
|
|
pylint:
|
|
|
|
pylint --rcfile=setup.cfg mvt
|