chore: update Gitlab CI and add Makefile (backend package) with code quality commands to run.

This commit is contained in:
fztee
2025-11-12 12:00:33 +01:00
parent 40bbb18795
commit a271a6bef7
2 changed files with 24 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
SOURCES=./src
TESTS=./tests
.PHONY: bandit format mypy pytest ruff
bandit:
uv run bandit --recursive $(SOURCES)
format:
uv run ruff format $(SOURCES) $(TESTS)
mypy:
uv run mypy $(SOURCES) $(TESTS)
pytest:
PYTHONPATH=./toolbox uv run pytest $(TESTS)
ruff:
uv run ruff check --fix $(SOURCES) $(TESTS)