diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2021-08-10 16:30:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 16:30:57 (GMT) |
commit | c0ab59f7de1906feee21c057ad433fad924d1e38 (patch) | |
tree | b0ec28e89c81e237f9dc8dc20b498c9598538b45 /.editorconfig | |
parent | 9816777861a3f19ea9faa5b98c9b7024f13c6b73 (diff) | |
download | cpython-c0ab59f7de1906feee21c057ad433fad924d1e38.zip cpython-c0ab59f7de1906feee21c057ad433fad924d1e38.tar.gz cpython-c0ab59f7de1906feee21c057ad433fad924d1e38.tar.bz2 |
bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638)
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..81445d2 --- /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 |