pre-commit autoupdate

This commit is contained in:
Markus Hofbauer
2022-11-17 15:55:21 +01:00
parent 3c890fb6d9
commit 7b78ffb686

View File

@@ -1,13 +1,17 @@
default_stages: [commit] default_stages: [commit]
repos: repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0 rev: v4.3.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
# - repo: https://github.com/pocc/pre-commit-hooks # - repo: https://github.com/pre-commit/mirrors-clang-format
# rev: v1.3.5 # rev: v15.0.4
# hooks: # hooks:
# - id: clang-format # - id: clang-format
- repo: https://github.com/cheshirekow/cmake-format-precommit - repo: https://github.com/cheshirekow/cmake-format-precommit
@@ -19,7 +23,7 @@ repos:
# additional_dependencies: ["cmakelang"] # additional_dependencies: ["cmakelang"]
# exclude: "cmake/.*" # exclude: "cmake/.*"
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 22.10.0
hooks: hooks:
- id: black - id: black
language_version: python3 language_version: python3
@@ -29,6 +33,6 @@ repos:
- id: isort - id: isort
args: [--profile, black, --multi-line, "3"] args: [--profile, black, --multi-line, "3"]
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 4.0.1 rev: 5.0.4
hooks: hooks:
- id: flake8 - id: flake8