Skip to content

Commit

Permalink
build: check the manifest more frequently
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Mar 12, 2022
1 parent 0795faa commit e937505
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include dev-requirements.txt
include Makefile
include pylintrc
include *.rst
include black_dinghy.yaml

recursive-include tests *
recursive-include scriv.d *
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,25 @@ requirements: ## install development environment requirements
pip install -r dev-requirements.txt


.PHONY: test quality black lint
.PHONY: test quality black lint check_manifest

test: ## run tests in the current virtualenv
pytest tests

quality: black lint ## run code-checking tools
quality: black lint check_manifest ## run code-checking tools

black:
black -q src tests

lint:
pylint src tests

check_manifest:
python -m check_manifest

.PHONY: dist testpypi pypi tag sample

dist: ## build the distributions
python -m check_manifest
dist: check_manifest ## build the distributions
python -m build --sdist --wheel
python -m twine check dist/*

Expand Down

0 comments on commit e937505

Please sign in to comment.