加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 733 Bytes
一键复制 编辑 原始数据 按行查看 历史
Li-Huai (Allan) Lin 提交于 2023-06-20 16:39 . Add objc clang format (#7677)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-docstring-first
- id: check-toml
- id: check-yaml
exclude: packaging/.*
args:
- --allow-multiple-documents
- id: mixed-line-ending
args: [--fix=lf]
- id: end-of-file-fixer
- repo: https://github.com/omnilib/ufmt
rev: v1.3.3
hooks:
- id: ufmt
additional_dependencies:
- black == 22.3.0
- usort == 1.0.2
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args: [--config=setup.cfg]
- repo: https://github.com/PyCQA/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化