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
|
pipenv run cog -r README.md docs/*.rst
|
||||||
|
|
||||||
# Serve live docs on localhost:8000
|
# Serve live docs on localhost:8000
|
||||||
@docs: cog
|
@docs: cog blacken-docs
|
||||||
pipenv run blacken-docs -l 60 docs/*.rst
|
|
||||||
cd docs && pipenv run make livehtml
|
cd docs && pipenv run make livehtml
|
||||||
|
|
||||||
# Apply Black
|
# Apply Black
|
||||||
@black:
|
@black:
|
||||||
pipenv run black .
|
pipenv run black .
|
||||||
|
|
||||||
|
# Apply blacken-docs
|
||||||
|
@blacken-docs:
|
||||||
|
pipenv run blacken-docs -l 60 docs/*.rst
|
||||||
|
|
||||||
# Apply prettier
|
# Apply prettier
|
||||||
@prettier:
|
@prettier:
|
||||||
npm run fix
|
npm run fix
|
||||||
|
|
||||||
# Format code with both black and prettier
|
# Format code with both black and prettier
|
||||||
@format: black prettier
|
@format: black prettier blacken-docs
|
||||||
|
|
||||||
@serve:
|
@serve:
|
||||||
pipenv run sqlite-utils create-database data.db
|
pipenv run sqlite-utils create-database data.db
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue