Add EditorConfig options for Python
While the desired options for indent size and style are Python's defaults, let's make it explicit by specifying it in the EditorConfig. As part of this, this also removes unnecessary inline formatting options for Python files.
This commit is contained in:
4 files changed
+6
-5
No files matched your search
@@ -5,6 +5,10 @@ charset = utf-8
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
|
||||
[*.sh]
|
||||
indent_style = tab
|
||||
function_next_line = true
|
||||
|
||||
Reference in new issue
Block a user