Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save akkefa/f6b277fd49fc2c5cd54b9eafb87a346e to your computer and use it in GitHub Desktop.
Save akkefa/f6b277fd49fc2c5cd54b9eafb87a346e to your computer and use it in GitHub Desktop.
Automate your Python project with Makefile
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