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

miss-islington webhook-mailer at python.org
Tue Aug 10 13:06:27 EDT 2021

commit: a6808c6378ccfd732285ee20319658ac29eacf4c
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-08-10T10:06:18-07:00

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

(cherry picked from commit c0ab59f7de1906feee21c057ad433fad924d1e38)

Co-authored-by: Łukasz Langa <lukasz at langa.pl>

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
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+indent_size = 2

More information about the Python-checkins mailing list