未验证 提交 aeb6edc7 编写于 作者: C Christian Clauss 提交者: GitHub

.pre-commit-config.yaml: Disable trailing-whitespace fixer (#3306)

* .pre-commit-config.yaml: Disable trailing-whitespace fixer

* updating DIRECTORY.md
Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
上级 de2725f4
......@@ -6,11 +6,13 @@ repos:
- id: check-yaml
- id: end-of-file-fixer
types: [python]
- id: trailing-whitespace
exclude: |
(?x)^(
data_structures/heap/binomial_heap.py
)$
# Some doctests use print(x, sep=" ") and black will not fix inside triple quotes
# It is too confusing for new contributors to understand this and how to fix
#- id: trailing-whitespace
# exclude: |
# (?x)^(
# data_structures/heap/binomial_heap.py
# )$
- id: requirements-txt-fixer
- repo: https://github.com/psf/black
rev: stable
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册