Skip to content

Commit 721ab32

Browse files
authored
Merge pull request #2788 from pygame-community/ankith26-rm-editorconfig
Remove all .editorconfig duplicates, re-add in project root with updates
2 parents bf66594 + 0dd3be0 commit 721ab32

File tree

4 files changed

+8
-75
lines changed

4 files changed

+8
-75
lines changed

examples/.editorconfig renamed to .editorconfig

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ root=true
44
end_of_line = lf
55
insert_final_newline = true
66

7-
# The settings for C (*.c and *.h) files are mirrored in src_c/.clang-format.
8-
# Keep them in sync.
9-
[*.{c,h}]
7+
[*.{c,h,py,pyx,pyi}]
108
indent_style = space
119
indent_size = 4
1210
tab_width = 4
11+
charset = utf-8
1312
trim_trailing_whitespace = true
13+
14+
# The settings for C (*.c and *.h) files are mirrored in src_c/.clang-format.
15+
# Keep them in sync.
16+
[*.{c,h}]
1417
max_line_length = 79
1518

16-
[*.{py,pyx}]
17-
indent_style = space
18-
indent_size = 4
19-
charset = utf-8
19+
[*.{py,pyx,pyi}]
2020
file_type_emacs = python
21-
trim_trailing_whitespace = true
22-
max_line_length = 79
21+
max_line_length = 88

src_c/.editorconfig

Lines changed: 0 additions & 22 deletions
This file was deleted.

src_py/.editorconfig

Lines changed: 0 additions & 22 deletions
This file was deleted.

test/.editorconfig

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)