We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6aa440 commit 65650a6Copy full SHA for 65650a6
1 file changed
Makefile
@@ -1,4 +1,4 @@
1
-.PHONY: help venv conda docker docstyle format style black test lint check coverage
+.PHONY: help venv conda docker docstyle format style black test lint check coverage pypi
2
.DEFAULT_GOAL = help
3
4
PYTHON = python
@@ -63,6 +63,12 @@ test: # Test code using pytest.
63
coverage: test
64
diff-cover coverage.xml --compare-branch=master --fail-under=100
65
66
+pypi:
67
+ ${PYTHON} setup.py clean --all; \
68
+ ${PYTHON} setup.py rotate --match=.tar.gz,.whl,.egg,.zip --keep=0; \
69
+ ${PYTHON} setup.py sdist bdist_wheel; \
70
+ twine upload --skip-existing dist/*;
71
+
72
lint: docstyle format style # Lint code using pydocstyle, black and pylint.
73
74
check: lint test coverage # Both lint and test code. Runs `make lint` followed by `make test`.
0 commit comments