summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-05-08 14:03:52 (GMT)
committerGitHub <noreply@github.com>2023-05-08 14:03:52 (GMT)
commitd513ddee94a05783b98f2b55f8fc0a4efbb9be82 (patch)
tree23c9f711d1d14a8b37fd1c7e923a66b4919c48ad /.pre-commit-config.yaml
parent1f5679540ca4aa5c0eae06d3a2d5eda34b47e041 (diff)
downloadcpython-d513ddee94a05783b98f2b55f8fc0a4efbb9be82.zip
cpython-d513ddee94a05783b98f2b55f8fc0a4efbb9be82.tar.gz
cpython-d513ddee94a05783b98f2b55f8fc0a4efbb9be82.tar.bz2
Trim trailing whitespace and test on CI (#104275)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..808622f
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,7 @@
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ - id: check-yaml
+ - id: trailing-whitespace
+ types_or: [c, python, rst]