diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b17998e6..fd734573 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,8 +5,6 @@ ci: autoupdate_schedule: quarterly # https://pre-commit.com/ -# commit-msg is used by hook id: check-message -default_install_hook_types: [pre-commit, commit-msg] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 @@ -36,9 +34,6 @@ repos: rev: v0.10.2 hooks: - id: check-message - # - id: check-branch # uncomment if you need. + - id: check-branch # uncomment if you need. - id: check-author-name # uncomment if you need. - id: check-author-email # uncomment if you need. - # - id: check-commit-signoff # uncomment if you need. - # - id: check-merge-base # requires download all git history - # - id: check-imperative # uncomment if you need. diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index e13812ba..171fd8aa 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,7 +5,6 @@ args: [--message] pass_filenames: true language: python - stages: [commit-msg] - id: check-branch name: check branch name description: ensures branch name to match regex diff --git a/README.rst b/README.rst index 4c45ba77..b29aac9c 100644 --- a/README.rst +++ b/README.rst @@ -42,11 +42,11 @@ Version 2.0.0 is a major release featuring a new configuration format, a moderni **✨ Highlights** -* TOML Configuration — Replaces ``.commit-check.yml`` with ``cchk.toml`` or ``commit-check.toml`` for clearer, more consistent syntax. -* Simplified CLI & Hooks — Legacy pre-commit hooks and options removed for a cleaner interface. -* New Validation Engine — Redesigned for better flexibility, performance, and maintainability. +* **TOML Configuration** — Replaces ``.commit-check.yml`` with ``cchk.toml`` or ``commit-check.toml`` for clearer, more consistent syntax. +* **Simplified CLI & Hooks** — Legacy pre-commit hooks and options removed to deliver a cleaner, more streamlined interface. +* **New Validation Engine** — Fully redesigned for greater flexibility, performance, and maintainability. -For the full list of updates and improvements, see the `What's New `_ page. +For the full list of updates and improvements, visit the `What's New `_ page. Configuration -------------