Created
June 17, 2022 18:17
-
-
Save akkefa/f6b277fd49fc2c5cd54b9eafb87a346e to your computer and use it in GitHub Desktop.
Automate your Python project with Makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
coverage: ## Run tests with coverage | |
coverage erase | |
coverage run --include=podsearch/* -m pytest -ra | |
coverage report -m | |
deps: ## Install dependencies | |
pip install black coverage flake8 mypy pylint pytest tox | |
lint: ## Lint and static-check | |
flake8 podsearch | |
pylint podsearch | |
mypy podsearch | |
push: ## Push code with tags | |
git push && git push --tags | |
test: ## Run tests | |
pytest -ra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment