[just] add new lint recipe for woodpecker workflows
This commit is contained in:
parent
831b86024c
commit
ef3523082a
1 changed files with 4 additions and 1 deletions
5
justfile
5
justfile
|
@ -4,7 +4,7 @@ deps:
|
||||||
sync:
|
sync:
|
||||||
pip-sync requirements/dev.txt
|
pip-sync requirements/dev.txt
|
||||||
|
|
||||||
lint: lint-ruff lint-django
|
lint: lint-ruff lint-django lint-woodpecker
|
||||||
|
|
||||||
lint-ruff:
|
lint-ruff:
|
||||||
ruff check .
|
ruff check .
|
||||||
|
@ -12,6 +12,9 @@ lint-ruff:
|
||||||
lint-django:
|
lint-django:
|
||||||
python -m django check
|
python -m django check
|
||||||
|
|
||||||
|
lint-woodpecker:
|
||||||
|
woodpecker-cli lint .woodpecker/workflow.yaml
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
python -m django runserver
|
python -m django runserver
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue