🔨 — Add a ruff-format targe in Makefile

This commit is contained in:
Luc Didry 2024-04-11 09:07:17 +02:00
parent 6cb2ccfa3b
commit 5237351492
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C

View file

@ -22,6 +22,8 @@ test: venv ## Run the tests
venv/bin/pytest
ruff: venv
venv/bin/ruff format --check .
ruff-format: venv
venv/bin/ruff format .
djlint: venv ## Format the templates
venv/bin/djlint --ignore=H030,H031,H006 --profile jinja --lint argos/server/templates/*html
pylint: venv ## Runs pylint on the code