Merge branch 'master' into sh_merge_master

This commit is contained in:
Ralf W. Grosse-Kunstleve
2022-03-30 19:33:07 -07:00
7 changed files with 68 additions and 53 deletions

View File

@@ -46,7 +46,7 @@ repos:
# Black, the code formatter, natively supports pre-commit
- repo: https://github.com/psf/black
rev: "22.1.0" # Keep in sync with blacken-docs
rev: "22.3.0" # Keep in sync with blacken-docs
hooks:
- id: black
@@ -56,7 +56,7 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies:
- black==22.1.0 # keep in sync with black hook
- black==22.3.0 # keep in sync with black hook
# Changes tabs to spaces
- repo: https://github.com/Lucas-C/pre-commit-hooks
@@ -76,6 +76,8 @@ repos:
rev: "v1.2.5"
hooks:
- id: pycln
additional_dependencies: [click<8.1] # Unpin when typer updates
stages: [manual]
# Checking for common mistakes
- repo: https://github.com/pre-commit/pygrep-hooks
@@ -109,7 +111,7 @@ repos:
# PyLint has native support - not always usable, but works for us
- repo: https://github.com/PyCQA/pylint
rev: "v2.12.2"
rev: "v2.13.2"
hooks:
- id: pylint
files: ^pybind11
@@ -125,7 +127,7 @@ repos:
# Check static types with mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.941"
rev: "v0.942"
hooks:
- id: mypy
args: [--show-error-codes]