Skip to content

Commit 55aa62f

Browse files
committed
fix typo
1 parent 73c1595 commit 55aa62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_2026/code-quality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ semgrep -l python -e "subprocess.Popen(..., shell=True, ...)"
6464

6565
# Pre-commit 钩子
6666

67-
Git 的 pre-commit [沟子](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)[pre-commit](https://pre-commit.com/) 框架的帮助下更容易使用,它会在每次 Git 提交前自动运行用户指定的代码。项目通常会利用 pre-commit 钩子在每次提交前自动运行格式化器、linter,有时也会运行测试,以确保被提交的代码符合项目的代码风格,并且不存在某些问题。
67+
Git 的 pre-commit [钩子](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)[pre-commit](https://pre-commit.com/) 框架的帮助下更容易使用,它会在每次 Git 提交前自动运行用户指定的代码。项目通常会利用 pre-commit 钩子在每次提交前自动运行格式化器、linter,有时也会运行测试,以确保被提交的代码符合项目的代码风格,并且不存在某些问题。
6868

6969
# 持续集成
7070

0 commit comments

Comments
 (0)