Skip to content

Commit

Permalink
bpo-44854: Add .editorconfig file to help enforce make patchcheck (G…
Browse files Browse the repository at this point in the history
…H-27638) (GH-27714)

(cherry picked from commit c0ab59f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
  • Loading branch information
miss-islington and ambv committed Aug 10, 2021
1 parent 897c870 commit d27e2f4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d27e2f4

Please sign in to comment.