mirror of
https://github.com/python/cpython.git
synced 2026-01-26 12:55:08 +00:00
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>
This commit is contained in:
parent
897c87045c
commit
d27e2f4d11
12
.editorconfig
Normal file
12
.editorconfig
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user