mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
just blacken-docs
This commit is contained in:
parent
4be7eece8c
commit
235962cd35
1 changed files with 6 additions and 3 deletions
9
Justfile
9
Justfile
|
|
@ -28,20 +28,23 @@ export DATASETTE_SECRET := "not_a_secret"
|
|||
pipenv run cog -r README.md docs/*.rst
|
||||
|
||||
# Serve live docs on localhost:8000
|
||||
@docs: cog
|
||||
pipenv run blacken-docs -l 60 docs/*.rst
|
||||
@docs: cog blacken-docs
|
||||
cd docs && pipenv run make livehtml
|
||||
|
||||
# Apply Black
|
||||
@black:
|
||||
pipenv run black .
|
||||
|
||||
# Apply blacken-docs
|
||||
@blacken-docs:
|
||||
pipenv run blacken-docs -l 60 docs/*.rst
|
||||
|
||||
# Apply prettier
|
||||
@prettier:
|
||||
npm run fix
|
||||
|
||||
# Format code with both black and prettier
|
||||
@format: black prettier
|
||||
@format: black prettier blacken-docs
|
||||
|
||||
@serve:
|
||||
pipenv run sqlite-utils create-database data.db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue