Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 13, 2024
1 parent fcd021d commit a6cf4a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exclude: "^.*/_vendor/"
repos:
# ruff with --fix should run before other formatting tools
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.15"
rev: "v0.3.7"
hooks:
# Run the linter.
- id: "ruff"
Expand All @@ -17,14 +17,14 @@ repos:
- id: ruff-format

- repo: "https://github.com/pre-commit/mirrors-clang-format"
rev: "v17.0.6"
rev: "v18.1.3"
hooks:
- id: "clang-format"
exclude: "^src/cocotb/share/include/(sv_vpi|vhpi|vpi)_user(_ext)?.h"
types_or: [c, c++]

- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.5.0"
rev: "v4.6.0"
hooks:
- id: "trailing-whitespace"
- id: "mixed-line-ending"
Expand Down

0 comments on commit a6cf4a6

Please sign in to comment.