diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-10 17:22:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 17:22:15 (GMT) |
commit | d27e2f4d118e7a9909b6a3e5da06c5ff95806a85 (patch) | |
tree | 1e3c2300441bed5d073e162913e4e79508da018d /.editorconfig | |
parent | 897c87045c7435254fd330c6ea48204f056e4afc (diff) | |
download | cpython-d27e2f4d118e7a9909b6a3e5da06c5ff95806a85.zip cpython-d27e2f4d118e7a9909b6a3e5da06c5ff95806a85.tar.gz cpython-d27e2f4d118e7a9909b6a3e5da06c5ff95806a85.tar.bz2 |
bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638) (GH-27714)
(cherry picked from commit c0ab59f7de1906feee21c057ad433fad924d1e38)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
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 |