add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

24
pages.zh/common/pylint.md Normal file
View File

@@ -0,0 +1,24 @@
# pylint
> 一个 Python 代码检查工具。
> 更多信息:<https://pylint.pycqa.org/en/latest/>.
- 显示文件中的 lint 错误:
`pylint {{path/to/file.py}}`
- 检查一个包或模块(必须可导入;无 `.py` 后缀):
`pylint {{package_or_module}}`
- 从目录路径检查一个包(必须包含 `__init__.py` 文件):
`pylint {{path/to/directory}}`
- 检查一个文件并使用配置文件(通常命名为 `pylintrc`
`pylint --rcfile {{path/to/pylintrc}} {{path/to/file.py}}`
- 检查一个文件并禁用特定的错误代码:
`pylint --disable {{C,W,no-error,design}} {{path/to/file}}`