Merge branch 'master' into smart_holder

This commit is contained in:
Ralf W. Grosse-Kunstleve
2022-06-27 22:24:23 -07:00
7 changed files with 36 additions and 22 deletions

View File

@@ -15,7 +15,7 @@
repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.2.0"
rev: "v4.3.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
@@ -33,7 +33,7 @@ repos:
# Upgrade old Python syntax
- repo: https://github.com/asottile/pyupgrade
rev: "v2.32.1"
rev: "v2.34.0"
hooks:
- id: pyupgrade
args: [--py36-plus]
@@ -60,7 +60,7 @@ repos:
# Changes tabs to spaces
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: "v1.1.13"
rev: "v1.2.0"
hooks:
- id: remove-tabs
exclude: (^docs/.*|\.patch)?$
@@ -73,7 +73,7 @@ repos:
# Autoremoves unused imports
- repo: https://github.com/hadialqattan/pycln
rev: "v1.3.2"
rev: "v1.3.5"
hooks:
- id: pycln
stages: [manual]
@@ -110,7 +110,7 @@ repos:
# PyLint has native support - not always usable, but works for us
- repo: https://github.com/PyCQA/pylint
rev: "v2.13.8"
rev: "v2.14.3"
hooks:
- id: pylint
files: ^pybind11
@@ -126,7 +126,7 @@ repos:
# Check static types with mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.950"
rev: "v0.961"
hooks:
- id: mypy
args: []
@@ -167,7 +167,7 @@ repos:
# Clang format the codebase automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v14.0.3"
rev: "v14.0.5"
hooks:
- id: clang-format
types_or: [c++, c, cuda]