summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-10-10 08:11:51 (GMT)
committerGitHub <noreply@github.com>2023-10-10 08:11:51 (GMT)
commit7426ed0347d66f7ef61ea7ae6c3163258b8fb128 (patch)
treeaeacf42ee44c3049dc8b71ebc738b743bd6e0f2e /.pre-commit-config.yaml
parent7b2764e798e400b8f5fcc199739405e6fbd05c20 (diff)
downloadcpython-7426ed0347d66f7ef61ea7ae6c3163258b8fb128.zip
cpython-7426ed0347d66f7ef61ea7ae6c3163258b8fb128.tar.gz
cpython-7426ed0347d66f7ef61ea7ae6c3163258b8fb128.tar.bz2
gh-109408: Add the docs whitespace check from patchcheck to pre-commit (#109854)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index da96855..2eaa047 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,7 +21,7 @@ repos:
types: [python]
exclude: Lib/test/tokenizedata/coding20731.py
- id: trailing-whitespace
- types_or: [c, python, rst]
+ types_or: [c, inc, python, rst]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.6.8