Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,20 @@ repos:
- id: ruff-format
args: [--config=pyproject.toml]
exclude: ^{{cookiecutter.project_name}}

- repo: https://github.com/python/mypy
rev: "v1.15.0"
hooks:
- id: mypy
exclude: ^{{cookiecutter.project_name}}

- repo: https://github.com/fpgmaas/deptry.git
rev: "0.23.0"
hooks:
- id: deptry
exclude: ^{{cookiecutter.project_name}}

- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
rev: "v0.6.1"
hooks:
- id: pre-commit-update
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ check: ## Run code quality tools.
@uv lock --locked
@echo "🚀 Linting code: Running pre-commit"
@uv run pre-commit run -a
@echo "🚀 Static type checking: Running mypy"
@uv run mypy
@echo "🚀 Checking for obsolete dependencies: Running deptry"
@uv run deptry .

.PHONY: test
test: ## Test the code with pytest.
Expand Down
Loading