mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-22 17:04:31 +02:00
Justfile for tests and linting, closes #446
This commit is contained in:
parent
8a9fe6498f
commit
3ddacb7bdc
1 changed files with 12 additions and 0 deletions
12
Justfile
Normal file
12
Justfile
Normal 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 .
|
||||
Loading…
Add table
Add a link
Reference in a new issue