mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-03 21:21:37 +00:00
Merge branch 'master' into sh_merge_master
This commit is contained in:
@@ -33,7 +33,7 @@ repos:
|
||||
|
||||
# Upgrade old Python syntax
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: "v2.37.1"
|
||||
rev: "v2.37.3"
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py36-plus]
|
||||
@@ -73,7 +73,7 @@ repos:
|
||||
|
||||
# Autoremoves unused imports
|
||||
- repo: https://github.com/hadialqattan/pycln
|
||||
rev: "v2.0.4"
|
||||
rev: "v2.1.1"
|
||||
hooks:
|
||||
- id: pycln
|
||||
stages: [manual]
|
||||
@@ -102,7 +102,7 @@ repos:
|
||||
|
||||
# Flake8 also supports pre-commit natively (same author)
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: "4.0.1"
|
||||
rev: "5.0.2"
|
||||
hooks:
|
||||
- id: flake8
|
||||
exclude: ^(docs/.*|tools/.*|ubench/.*)$
|
||||
@@ -126,7 +126,7 @@ repos:
|
||||
|
||||
# Check static types with mypy
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: "v0.961"
|
||||
rev: "v0.971"
|
||||
hooks:
|
||||
- id: mypy
|
||||
args: []
|
||||
|
||||
Reference in New Issue
Block a user