From: Ɓukasz Langa Date: Tue, 10 Aug 2021 16:30:57 +0000 (+0200) Subject: bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638) X-Git-Tag: v3.11.0a1~430 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0ab59f7de1906feee21c057ad433fad924d1e38;p=thirdparty%2FPython%2Fcpython.git bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638) --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..81445d2d79c7 --- /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