feat: 🎨 Add justfile with recipes
We have linting and exporting dependencies to requirements files.
This commit is contained in:
parent
0a02176b6c
commit
c2e6896888
1 changed files with 12 additions and 0 deletions
12
justfile
Normal file
12
justfile
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
uv_export_options := "--frozen --format requirements.txt --quiet"
|
||||||
|
exports-deps:
|
||||||
|
uv export {{ uv_export_options }} --output-file requirements.txt
|
||||||
|
uv export {{ uv_export_options }} --only-dev --output-file requirements.dev.txt
|
||||||
|
|
||||||
|
lint-python:
|
||||||
|
uv run ruff check .
|
||||||
|
|
||||||
|
lint-markdown:
|
||||||
|
markdownlint-cli2 .
|
||||||
|
|
||||||
|
lint: lint-python lint-markdown
|
||||||
Loading…
Add table
Add a link
Reference in a new issue