We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a3e7c commit dae924aCopy full SHA for dae924a
‎project_name/justfile.jinja‎
@@ -4,6 +4,7 @@ list-tasks:
4
alias f := format
5
alias t := test
6
alias l := lint
7
+alias q := quick-tools
8
9
10
### run once after init/clone ###
@@ -48,6 +49,16 @@ check-and-push:
48
49
# Tests to run before push, tag, or release
50
_check: test lint
51
52
+# Run fast formatting and linting tools
53
+quick-tools:
54
+ uv run ruff check --select I001 --fix -q
55
+ {%- if format_tool == "black" %}
56
+ uv run black -q .
57
+ {%- elif format_tool == "ruff" %}
58
+ uv run ruff format -q
59
+ {%- endif %}
60
+ uv run ruff check
61
+
62
# Format code and files
63
format:
64
uv run ruff check --select I001 --fix
0 commit comments