diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -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: