@@ -844,7 +844,7 @@ _new in 2.8.0_: `pre-commit` now exits with more specific codes:
844844- `3`: an unexpected error
845845- `130`: the process was interrupted by `^C`
846846
847- ## pre-commit autoupdate [options] []( #pre-commit-autoupdate)
847+ ## pre-commit autoupdate [options] #pre-commit-autoupdate
848848
849849Auto-update pre-commit config to the latest repos' versions.
850850
@@ -901,13 +901,13 @@ $ grep rev: .pre-commit-config.yaml
901901 rev: 34a269fd7650d264e4de7603157c10d0a9bb8211 # frozen: v1.25.2
902902```
903903
904- ## pre-commit clean [options] []( #pre-commit-clean)
904+ ## pre-commit clean [options] #pre-commit-clean
905905
906906Clean out cached pre-commit files.
907907
908908Options: (no additional options)
909909
910- ## pre-commit gc [options] []( #pre-commit-gc)
910+ ## pre-commit gc [options] #pre-commit-gc
911911
912912_new in 1.14.0_
913913
@@ -919,7 +919,7 @@ the cache directory.
919919
920920Options: (no additional options)
921921
922- ## pre-commit init-templatedir DIRECTORY [options] []( #pre-commit-init-templatedir)
922+ ## pre-commit init-templatedir DIRECTORY [options] #pre-commit-init-templatedir
923923
924924_new in 1.18.0_
925925
@@ -942,7 +942,7 @@ pre-commit init-templatedir ~/.git-template
942942Now whenever a repository is cloned or created, it will have the hooks set up
943943already!
944944
945- ## pre-commit install [options] []( #pre-commit-install)
945+ ## pre-commit install [options] #pre-commit-install
946946
947947Install the pre-commit script.
948948
@@ -967,7 +967,7 @@ Some example useful invocations:
967967 existing git hook scripts with pre-commit, and also installs hook
968968 environments.
969969
970- ## pre-commit install-hooks [options] []( #pre-commit-install-hooks)
970+ ## pre-commit install-hooks [options] #pre-commit-install-hooks
971971
972972Install all missing environments for the available hooks. Unless this command or
973973`install --install-hooks` is executed, each hook's environment is created the
@@ -981,15 +981,15 @@ the hook environments in one command, use `pre-commit install --install-hooks`.
981981
982982Options: (no additional options)
983983
984- ## pre-commit migrate-config [options] []( #pre-commit-migrate-config)
984+ ## pre-commit migrate-config [options] #pre-commit-migrate-config
985985
986986_new in 1.0.0_
987987
988988Migrate list configuration to the new map configuration format.
989989
990990Options: (no additional options)
991991
992- ## pre-commit run [hook-id] [options] []( #pre-commit-run)
992+ ## pre-commit run [hook-id] [options] #pre-commit-run
993993
994994Run hooks.
995995
@@ -1019,13 +1019,13 @@ Some example useful invocations:
10191019 have changed between `HEAD^^^` and `HEAD`. This form is useful when
10201020 leveraged in a pre-receive hook.
10211021
1022- ## pre-commit sample-config [options] []( #pre-commit-sample-config)
1022+ ## pre-commit sample-config [options] #pre-commit-sample-config
10231023
10241024Produce a sample `.pre-commit-config.yaml`.
10251025
10261026Options: (no additional options)
10271027
1028- ## pre-commit try-repo REPO [options] []( #pre-commit-try-repo)
1028+ ## pre-commit try-repo REPO [options] #pre-commit-try-repo
10291029
10301030_new in 1.3.0_
10311031
@@ -1053,7 +1053,7 @@ Some example useful invocations:
10531053- See [`pre-commit run`](#pre-commit-run) for more useful `run` invocations
10541054 which are also supported by `pre-commit try-repo`.
10551055
1056- ## pre-commit uninstall [options] []( #pre-commit-uninstall)
1056+ ## pre-commit uninstall [options] #pre-commit-uninstall
10571057
10581058Uninstall the pre-commit script.
10591059
0 commit comments