[Python-checkins] bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638)

ambv webhook-mailer at python.org
Tue Aug 10 12:31:07 EDT 2021


https://github.com/python/cpython/commit/c0ab59f7de1906feee21c057ad433fad924d1e38
commit: c0ab59f7de1906feee21c057ad433fad924d1e38
branch: main
author: Łukasz Langa <lukasz at langa.pl>
committer: ambv <lukasz at langa.pl>
date: 2021-08-10T18:30:57+02:00
summary:

bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638)

files:
A .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000000..81445d2d79c73
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+root = true
+
+[*.{py,c,cpp,h,rst,md,yml}]
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+
+[*.{py,c,cpp,h}]
+indent_size = 4
+
+[*.yml]
+indent_size = 2



More information about the Python-checkins mailing list