Merge branch 'pybind:master' into master

This commit is contained in:
Steve R. Sun 2025-01-08 09:35:33 +08:00 committed by GitHub
commit c24c5e2210
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,14 +25,14 @@ repos:
# Clang format the codebase automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v19.1.4"
rev: "v19.1.6"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
# Ruff, the Python auto-correcting linter/formatter written in Rust
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.8.6
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
@ -40,7 +40,7 @@ repos:
# Check static types with mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.13.0"
rev: "v1.14.1"
hooks:
- id: mypy
args: []
@ -142,7 +142,7 @@ repos:
# PyLint has native support - not always usable, but works for us
- repo: https://github.com/PyCQA/pylint
rev: "v3.3.2"
rev: "v3.3.3"
hooks:
- id: pylint
files: ^pybind11