Skip to content

Commit

Permalink
Merge pull request #35 from biglyan/patch-1
Browse files Browse the repository at this point in the history
Update develop.md
  • Loading branch information
whg517 committed Sep 28, 2023
2 parents 32305c4 + 61bf605 commit 2dea954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guidelines/advanced/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Python 内置测试框架是 [unittest](https://docs.python.org/zh-cn/3/library/

面向对象的方式所支持的几个概念:

- 测试脚手架: `test fixture` 表示为了展开意向或多想测试所需要准备的工作,以及相关的清理工作
- 测试脚手架: `test fixture` 表示为了展开一项或多项测试所需要准备的工作,以及相关的清理工作
- 测试用例:一个测试用例是一个独立的单元测试。
- 测试套件:是一系列的测试用例,或测试套件。
- 测试运行器:用于执行和输出测试结果。
Expand Down
2 changes: 1 addition & 1 deletion docs/guidelines/tutorial/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ class StripTransformer(BaseTransformer):

```

上面两处调整,是使用了 pylint 的规则金庸功能,在这两个模块上,抑制 pylint 的 `too-few-public-methods` 规则。
上面两处调整,是使用了 pylint 的规则禁用功能,在这两个模块上,抑制 pylint 的 `too-few-public-methods` 规则。

此时再次运行 `pylint` 检查代码:

Expand Down

0 comments on commit 2dea954

Please sign in to comment.