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

(cherry picked from commit c0ab59f7de)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
Miss Islington (bot) 2021-08-10 10:06:18 -07:00 committed by GitHub
parent 4e0147ec50
commit a6808c6378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
.editorconfig Normal file
View File

@ -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