makefile: added ruff check

This commit is contained in:
RhodeCode Admin 2023-10-09 12:44:25 +02:00
parent 0617a70667
commit 02b7fd344c

View file

@ -59,6 +59,12 @@ test-only-postgres:
--ini-config-override='{"app:main": {"sqlalchemy.db1.url": "postgresql://postgres:qweqwe@localhost/rhodecode_test"}}' \
--cov=rhodecode rhodecode
.PHONY: ruff-check
## run a ruff analysis
ruff-check:
ruff check --ignore F401 --ignore I001 --ignore E402 --ignore E501 --ignore F841 --exclude rhodecode/lib/dbmigrate --exclude .eggs --exclude .dev .
.PHONY: docs
## build docs
docs: