From 3ddacb7bdc5a949786e341151e34c5fcf9050033 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 20 Jun 2022 12:54:46 -0700 Subject: [PATCH] Justfile for tests and linting, closes #446 --- Justfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Justfile diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..b069682 --- /dev/null +++ b/Justfile @@ -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 .