Chore: Add default language in pre-commit and bump hooks (#1652)

This commit is contained in:
Nripesh Niketan
2024-12-06 15:54:29 +00:00
committed by GitHub
parent fc88fd9097
commit 3bb5b4a302
3 changed files with 45 additions and 15 deletions

View File

@@ -1,13 +1,17 @@
default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
rev: v19.1.4
hooks:
- id: clang-format
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks: