This commit is contained in:
Martin Bubel 2025-07-05 15:02:34 +01:00 committed by GitHub
commit a4bb42557e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,12 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.7.1
hooks:
# Run the linter.
- id: ruff
types_or: [ python, pyi ]
args: [ --fix ]
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi ]