46 lines
721 B
INI
46 lines
721 B
INI
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
# Python files
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
max_line_length = 120
|
|
multi_line_output = 3
|
|
|
|
# YAML files
|
|
[*.{yml,yaml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# JSON files
|
|
[*.json]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Markdown files
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
max_line_length = off
|
|
|
|
# Requirements files
|
|
[requirements*.txt]
|
|
insert_final_newline = false
|
|
|
|
# Shell scripts
|
|
[*.sh]
|
|
end_of_line = lf
|
|
|
|
# Windows scripts
|
|
[*.{cmd,bat}]
|
|
end_of_line = crlf
|