Skip to content

Commit 4bc851d

Browse files
committed
Add an editorconfig to standardise styles across projects
See https://editorconfig.org/
1 parent 8236877 commit 4bc851d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
# Use 4 spaces the Python files
13+
[*.py]
14+
indent_size = 4

0 commit comments

Comments
 (0)