Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use Just #494

Closed
simonw opened this issue Sep 26, 2022 · 2 comments
Closed

Document how to use Just #494

simonw opened this issue Sep 26, 2022 · 2 comments

Comments

@simonw
Copy link
Owner

simonw commented Sep 26, 2022

I'm using just a lot know, based on this file - I should add that to https://sqlite-utils.datasette.io/en/latest/contributing.html

sqlite-utils/Justfile

Lines 1 to 24 in afbd2b2

# Run tests and linters
@default: test lint
# Run pytest with supplied options
@test *options:
pipenv run pytest {{options}}
# Run linters: black, flake8, mypy, cog
@lint:
pipenv run black . --check
pipenv run flake8
pipenv run mypy sqlite_utils tests
cog --check README.md docs/*.rst
# Rebuild docs with cog
@cog:
cog -r README.md docs/*.rst
@docs: cog
cd docs && pipenv run make livehtml
# Apply Black
@black:
pipenv run black .

@simonw
Copy link
Owner Author

simonw commented Sep 26, 2022

@simonw
Copy link
Owner Author

simonw commented Sep 26, 2022

Tweeted about it too: https://twitter.com/simonw/status/1574481628507668480

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant