add pre-commit hooks

Fixes #945
This commit is contained in:
Aleix Conchillo Flaqué
2025-01-15 13:44:21 -08:00
parent bb4766455d
commit f78520f7d0
5 changed files with 23 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ local_scheme = "no-local-version"
fallback_version = "0.0.0-dev"
[tool.ruff]
exclude = ["*_pb2.py"]
exclude = [".git", "*_pb2.py"]
line-length = 100
[tool.ruff.lint]