Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks (#243)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/asottile/pyupgrade: v3.3.0 →
v3.3.1](asottile/pyupgrade@v3.3.0...v3.3.1)
- [github.com/PyCQA/isort: 5.10.1 →
v5.11.3](PyCQA/isort@5.10.1...v5.11.3)
- [github.com/psf/black: 22.10.0 →
22.12.0](psf/black@22.10.0...22.12.0)
- [github.com/pre-commit/mirrors-clang-format: v15.0.4 →
v15.0.6](pre-commit/mirrors-clang-format@v15.0.4...v15.0.6)
<!--pre-commit.ci end-->
  • Loading branch information
burgholzer authored Dec 19, 2022
2 parents f637d0d + 5d2f342 commit 9d0f917
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@ repos:

# Upgrade old Python syntax
- repo: https://github.com/asottile/pyupgrade
rev: "v3.3.0"
rev: "v3.3.1"
hooks:
- id: pyupgrade
args: ["--py37-plus"]

# Sort includes
- repo: https://github.com/PyCQA/isort
rev: "5.10.1"
rev: "v5.11.3"
hooks:
- id: isort

# Run code formatting with Black
- 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-jupyter

Expand All @@ -75,7 +75,7 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies:
- black==22.10.0 # keep in sync with black hook
- black==22.12.0 # keep in sync with black hook

# Check for common mistakes
- repo: https://github.com/pre-commit/pygrep-hooks
Expand Down Expand Up @@ -113,7 +113,7 @@ repos:

# Clang-format the C++ part of the code base 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]
Expand Down

0 comments on commit 9d0f917

Please sign in to comment.