Setup python and make
Some checks failed
Run checks / checks (pull_request) Failing after 6s

This commit is contained in:
Bart van der Braak 2024-11-19 20:04:36 +01:00
parent da6339d74d
commit 4b225b6e61
4 changed files with 19 additions and 12 deletions

View file

@ -12,5 +12,11 @@ setup: ## Create Python virtualenv and install dependencies
@if [ ! -d .venv ]; then python3 -m venv .venv; fi
@if [ -d .venv ]; then . .venv/bin/activate && pip3 install -r requirements.txt; fi
check: ## Run linter, formatter and typechecks
ruff check && ruff format && mypy config/master.cfg
check: ## Check linting, formatting and types
ruff check
ruff format --check
mypy config/master.cfg
format: ## Autofix linting and formatting issues
ruff check --fix
ruff format