summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-10 08:36:28 (GMT)
committerGitHub <noreply@github.com>2023-10-10 08:36:28 (GMT)
commitd099defc63681a9134771f768059066116122599 (patch)
treec6c7baf650a3e799dcef092f11ffb857228718dd /.pre-commit-config.yaml
parent2943bae7f1faea26770ee9d23a1893cc22e144e7 (diff)
downloadcpython-d099defc63681a9134771f768059066116122599.zip
cpython-d099defc63681a9134771f768059066116122599.tar.gz
cpython-d099defc63681a9134771f768059066116122599.tar.bz2
[3.11] gh-109408: Add the docs whitespace check from patchcheck to pre-commit (GH-109854) (#110595)
gh-109408: Add the docs whitespace check from patchcheck to pre-commit (GH-109854) (cherry picked from commit 7426ed0347d66f7ef61ea7ae6c3163258b8fb128) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 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 4c42dbb..141d12b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -14,7 +14,7 @@ repos:
exclude: ^Lib/test/test_tomllib/
- id: check-yaml
- 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