mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
🔨 — Add a ruff-format targe in Makefile
This commit is contained in:
parent
6cb2ccfa3b
commit
5237351492
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -22,6 +22,8 @@ test: venv ## Run the tests
|
||||||
venv/bin/pytest
|
venv/bin/pytest
|
||||||
ruff: venv
|
ruff: venv
|
||||||
venv/bin/ruff format --check .
|
venv/bin/ruff format --check .
|
||||||
|
ruff-format: venv
|
||||||
|
venv/bin/ruff format .
|
||||||
djlint: venv ## Format the templates
|
djlint: venv ## Format the templates
|
||||||
venv/bin/djlint --ignore=H030,H031,H006 --profile jinja --lint argos/server/templates/*html
|
venv/bin/djlint --ignore=H030,H031,H006 --profile jinja --lint argos/server/templates/*html
|
||||||
pylint: venv ## Runs pylint on the code
|
pylint: venv ## Runs pylint on the code
|
||||||
|
|
Loading…
Reference in a new issue