Skip to content

Commit 0dd3be0

Browse files
committed
re-add .editorconfig in project root, with updates
1 parent 6692773 commit 0dd3be0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
root=true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[*.{c,h,py,pyx,pyi}]
8+
indent_style = space
9+
indent_size = 4
10+
tab_width = 4
11+
charset = utf-8
12+
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}]
17+
max_line_length = 79
18+
19+
[*.{py,pyx,pyi}]
20+
file_type_emacs = python
21+
max_line_length = 88

0 commit comments

Comments
 (0)