From 14a012c1e4f172206411e4224fcb5cad3e9efae0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 30 Sep 2024 18:45:10 +0200 Subject: Merging upstream version 20240709. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .pre-commit-config.yaml (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..7a49d06 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,30 @@ +default_stages: [commit] +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.0.1 + hooks: + - id: check-executables-have-shebangs + - id: forbid-new-submodules + - id: check-yaml + - id: check-symlinks + - id: destroyed-symlinks +- repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.9.0.5 + hooks: + - id: shellcheck +- repo: https://github.com/ambv/black + rev: 22.6.0 + hooks: + - id: black +- repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.33.0 + hooks: + - id: markdownlint + args: ['--fix'] +- repo: local + hooks: + - id: check-whence + name: Check whence + files: 'WHENCE' + language: script + entry: ./check_whence.py -- cgit v1.2.3