From d23a894693f669a8a609018f5a7f6c9bcc49d500 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Fri, 24 Jul 2026 18:15:58 -0400 Subject: [PATCH] fix bullet indentation helps get a clean diff when upgrading to mistune 3 --- sections/advanced.md | 2 +- sections/cli.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sections/advanced.md b/sections/advanced.md index 646f2ac1..578a2ef2 100644 --- a/sections/advanced.md +++ b/sections/advanced.md @@ -181,7 +181,7 @@ environment variables: - `PRE_COMMIT_REMOTE_URL`: the url of the remote that is being pushed to (for example `git@github.com:pre-commit/pre-commit`) - `PRE_COMMIT_REMOTE_BRANCH`: the name of the remote branch to which we are - pushing (for example `refs/heads/target-branch`) + pushing (for example `refs/heads/target-branch`) - `PRE_COMMIT_LOCAL_BRANCH`: the name of the local branch that is being pushed to the remote (for example `HEAD`) diff --git a/sections/cli.md b/sections/cli.md index 56b74d76..848faec4 100644 --- a/sections/cli.md +++ b/sections/cli.md @@ -137,10 +137,10 @@ Options: Some example useful invocations: - `pre-commit install`: Default invocation. Installs the hook scripts - alongside any existing git hooks. + alongside any existing git hooks. - `pre-commit install --install-hooks --overwrite`: Idempotently replaces - existing git hook scripts with pre-commit, and also installs hook - environments. + existing git hook scripts with pre-commit, and also installs hook + environments. `pre-commit install` will install hooks from [`default_install_hook_types`](#top_level-default_install_hook_types) if