From bb5cd569f47381bfdb668256ee57b45d185021aa Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 26 Nov 2024 03:07:46 +1000 Subject: [PATCH] Add more details to the pre-commit config --- .pre-commit-config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c8c8cb1..8c88c566 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,6 +28,7 @@ repos: hooks: - id: vulture name: run vulture + description: find dead Python code - repo: https://github.com/psf/black-pre-commit-mirror rev: 24.10.0 hooks: @@ -95,7 +96,7 @@ repos: hooks: - id: markdownlint name: run markdownlint - description: Check Markdown files with markdownlint + description: check Markdown files with markdownlint args: [--config=.github/linters/.markdown-lint.yml] types: [markdown] files: \.md$ @@ -111,7 +112,7 @@ repos: hooks: - id: yamllint name: run yamllint - description: Check YAML files with yamllint + description: check YAML files with yamllint args: [--strict, -c=.github/linters/.yaml-lint.yml] exclude: ^config/layout/attribute/style/value\.yaml$ types: [yaml] @@ -131,3 +132,4 @@ repos: hooks: - id: isort name: run isort (python) + description: a Python utility / library to sort imports