mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 20:34:12 +02:00
Add documentation strings to Justfile, ref #446
This commit is contained in:
parent
2768effe07
commit
ba8cf54908
1 changed files with 5 additions and 0 deletions
5
Justfile
5
Justfile
|
|
@ -1,16 +1,21 @@
|
||||||
|
# Run tests and linters
|
||||||
@default: test lint
|
@default: test lint
|
||||||
|
|
||||||
|
# Run pytest with supplied options
|
||||||
@test *options:
|
@test *options:
|
||||||
pipenv run pytest {{options}}
|
pipenv run pytest {{options}}
|
||||||
|
|
||||||
|
# Run linters: black, flake8, mypy, cog
|
||||||
@lint:
|
@lint:
|
||||||
pipenv run black . --check
|
pipenv run black . --check
|
||||||
pipenv run flake8
|
pipenv run flake8
|
||||||
pipenv run mypy sqlite_utils tests
|
pipenv run mypy sqlite_utils tests
|
||||||
cog --check README.md docs/*.rst
|
cog --check README.md docs/*.rst
|
||||||
|
|
||||||
|
# Rebuild docs with cog
|
||||||
@cog:
|
@cog:
|
||||||
cog -r README.md docs/*.rst
|
cog -r README.md docs/*.rst
|
||||||
|
|
||||||
|
# Apply Black
|
||||||
@black:
|
@black:
|
||||||
pipenv run black .
|
pipenv run black .
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue