init repository

This commit is contained in:
rmanach
2025-10-21 14:20:44 +02:00
commit c2084a5166
5 changed files with 340 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
PYTHON := $(ROOT_DIR)venv/bin/python
.PHONY: venv
venv:
@python3 -m venv venv
pip install -r requirements-dev.txt
lint:
$(PYTHON) -m ruff check --fix
format:
$(PYTHON) -m ruff format
check-type:
$(PYTHON) -m mypy .
check: format lint check-type