Skip to content

Commit

Permalink
pre-commit: use check-accidental-assignment v0.3 which handles single…
Browse files Browse the repository at this point in the history
… quote strings
  • Loading branch information
perigoso authored and dragonmux committed Jan 12, 2024
1 parent cccceea commit d6a8970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ repos:
rev: v16.0.2
hooks:
- id: clang-format
args: [-Werror] # change formatting warnings to errors, hook includes -i (Inplace edit) by default
args: [-Werror] # change formatting warnings to errors, hook includes -i (in-place edit) by default
types_or: [c++, c] # override default file types to only C and CPP files

- repo: https://github.com/perigoso/pre-commit-hooks
rev: v0.2
rev: v0.3
hooks:
- id: check-hex-case
args: [--lower-digits] # edit-in-place, hex number digits to lower case (defaults to upper case), i.e. 0x55aa
Expand Down

0 comments on commit d6a8970

Please sign in to comment.