Justfile for tests and linting, closes #446

This commit is contained in:
Simon Willison 2022-06-20 12:54:46 -07:00
commit 3ddacb7bdc

12
Justfile Normal file
View file

@ -0,0 +1,12 @@
@default: test lint
@test *options:
pipenv run pytest {{options}}
@lint:
pipenv run black . --check
pipenv run flake8
pipenv run mypy sqlite_utils tests
@black:
pipenv run black .