Skip to content

Instantly share code, notes, and snippets.

@marcuxyz
Created October 8, 2020 17:02
Show Gist options
  • Save marcuxyz/196c2261cf030db2d5354633e336ffe7 to your computer and use it in GitHub Desktop.
Save marcuxyz/196c2261cf030db2d5354633e336ffe7 to your computer and use it in GitHub Desktop.
timestamp = `date +%s`
test:
@pytest --cov=./scanapi --cov-report=xml
check:
@black -l 80 --check . --exclude=.venv
change-version:
@poetry version 2.1.0-$(timestamp)
format:
@black -l 80 . --exclude=.venv
install:
@poetry install
@pre-commit install
sh:
@poetry shell
run:
@poetry run scanapi
bandit:
@bandit -r scanapi
.PHONY: test format check install sh run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment