feat: add pre-commit configuration for code quality checks

This commit is contained in:
Lubos Zima
2025-06-17 21:30:26 +07:00
parent b1b09e2e4c
commit 7bf3837a8e

13
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,13 @@
ci:
skip: [pytest]
default_language_version:
python: python3.13
repos:
# general checks (see here: https://pre-commit.com/hooks.html)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: trailing-whitespace