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

20
pages.zh/common/flake8.md Normal file
View File

@@ -0,0 +1,20 @@
# flake8
> 检查 Python 代码的风格和质量。
> 更多信息:<https://flake8.pycqa.org/>
- 递归检查文件或目录:
`flake8 {{path/to/file_or_directory}}`
- 递归检查文件或目录,并显示每个错误发生的行:
`flake8 --show-source {{path/to/file_or_directory}}`
- 递归检查文件或目录,并忽略一系列规则。(所有可用规则可以在 flake8rules.com 找到):
`flake8 --ignore {{rule1,rule2}} {{path/to/file_or_directory}}`
- 递归检查文件或目录,但排除匹配给定通配符或子字符串的文件:
`flake8 --exclude {{substring1,glob2}} {{path/to/file_or_directory}}`