代码拉取完成,页面将自动刷新
repos:
- repo: /home/admin/pre-commit/flake8
rev: 4.0.0
hooks:
- id: flake8
exclude: |
(?x)^(
thirdparty/|
examples/|
tests/run.py
)$
- repo: /home/admin/pre-commit/isort
rev: 4.3.21
hooks:
- id: isort
exclude: |
(?x)^(
examples/|
tests/run.py
)$
- repo: /home/admin/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
exclude: |
(?x)^(
thirdparty/|
examples/|
tests/run.py
)$
- repo: /home/admin/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:
- id: trailing-whitespace
exclude: thirdparty/|tests/run.py
- id: check-yaml
exclude: thirdparty/|tests/run.py
- id: end-of-file-fixer
exclude: thirdparty/
- id: requirements-txt-fixer
exclude: thirdparty/|tests/run.py
- id: double-quote-string-fixer
exclude: thirdparty/|tests/run.py
- id: check-merge-conflict
exclude: thirdparty/|tests/run.py
- id: fix-encoding-pragma
exclude: thirdparty/|tests/run.py
args: ["--remove"]
- id: mixed-line-ending
exclude: thirdparty/|tests/run.py
args: ["--fix=lf"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。