mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 09:52:38 +02:00
🔀 Merge branch 'almet/ruff' into 'main'
build: add a check with ruff See merge request framasoft/framaspace/argos!33
This commit is contained in:
commit
6f1c5ed8c0
2 changed files with 8 additions and 0 deletions
|
@ -45,6 +45,12 @@ pylint:
|
|||
allow_failure: true
|
||||
coverage: '/Your code has been rated at ([0-9.]+)\/100/'
|
||||
|
||||
format:
|
||||
<<: *pull_cache
|
||||
stage: test
|
||||
script:
|
||||
- make ruff
|
||||
|
||||
pages:
|
||||
<<: *pull_cache
|
||||
stage: deploy
|
||||
|
|
2
Makefile
2
Makefile
|
@ -20,6 +20,8 @@ cog: ## Run cog, to integrate the CLI options to the docs.
|
|||
venv/bin/cog -r docs/*.md
|
||||
tests: venv ## Run the tests
|
||||
venv/bin/pytest
|
||||
ruff: venv
|
||||
venv/bin/ruff format --check .
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue