update pre-commit hooks

This commit is contained in:
Nicola Sella 2023-11-23 15:26:49 +01:00 committed by kolage
parent f61c56fd50
commit 184568fbcd
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0 rev: v4.5.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
exclude: exclude:
@ -12,13 +12,13 @@ repos:
- id: check-added-large-files - id: check-added-large-files
- id: check-merge-conflict - id: check-merge-conflict
- repo: https://github.com/pre-commit/mirrors-clang-format - repo: https://github.com/pre-commit/mirrors-clang-format
rev: v16.0.1 rev: v17.0.5
hooks: hooks:
- id: clang-format - id: clang-format
types_or: types_or:
- c++ - c++
- repo: https://github.com/pre-commit/mirrors-autopep8 - repo: https://github.com/hhatto/autopep8
rev: v2.0.2 rev: v2.0.4
hooks: hooks:
- id: autopep8 - id: autopep8
- repo: https://github.com/rpm-software-management/rpmlint.git - repo: https://github.com/rpm-software-management/rpmlint.git