Merge branch 'master' into sh_merge_master

This commit is contained in:
Ralf W. Grosse-Kunstleve
2023-01-03 19:40:01 -08:00
19 changed files with 143 additions and 38 deletions

View File

@@ -42,20 +42,20 @@ repos:
# Upgrade old Python syntax
- repo: https://github.com/asottile/pyupgrade
rev: "v3.3.0"
rev: "v3.3.1"
hooks:
- id: pyupgrade
args: [--py36-plus]
# Nicely sort includes
- repo: https://github.com/PyCQA/isort
rev: "5.10.1"
rev: "5.11.4"
hooks:
- id: isort
# Black, the code formatter, natively supports pre-commit
- repo: https://github.com/psf/black
rev: "22.10.0" # Keep in sync with blacken-docs
rev: "22.12.0" # Keep in sync with blacken-docs
hooks:
- id: black
@@ -119,7 +119,7 @@ repos:
# PyLint has native support - not always usable, but works for us
- repo: https://github.com/PyCQA/pylint
rev: "v2.15.8"
rev: "v2.15.9"
hooks:
- id: pylint
files: ^pybind11
@@ -163,7 +163,7 @@ repos:
# Check for common shell mistakes
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.8.0.4"
rev: "v0.9.0.2"
hooks:
- id: shellcheck
@@ -178,7 +178,7 @@ repos:
# Clang format the codebase automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v15.0.4"
rev: "v15.0.6"
hooks:
- id: clang-format
types_or: [c++, c, cuda]