Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks (#140)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/mirrors-clang-format: v17.0.5 →
v17.0.6](pre-commit/mirrors-clang-format@v17.0.5...v17.0.6)
- [github.com/pre-commit/mirrors-prettier: v3.1.0 →
v4.0.0-alpha.3](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.3)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Lukas Burgholzer <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and burgholzer authored Dec 4, 2023
1 parent 0eb211f commit e6c72c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ repos:

# Clang-format the C++ part of the code base automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v17.0.5"
rev: "v17.0.6"
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand All @@ -137,9 +137,10 @@ repos:

# Format configuration files with prettier
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
rev: "v4.0.0-alpha.3"
hooks:
- id: prettier
entry: env PRETTIER_LEGACY_CLI=1 prettier # temporary fix for https://github.com/prettier/prettier/issues/15742
types_or: [yaml, markdown, html, css, scss, javascript, json]

# Clean jupyter notebooks
Expand Down

0 comments on commit e6c72c5

Please sign in to comment.