mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Python code is now formatted to PEP8 All other files are defined in .editorconfig as far as possible.
30 lines
563 B
INI
30 lines
563 B
INI
# EditorConfig helps developers define and maintain consistent
|
|
# coding styles between different editors and IDEs
|
|
# editorconfig.org
|
|
|
|
root = true
|
|
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.hbs]
|
|
insert_final_newline = false
|
|
|
|
[*.{diff,md}]
|
|
trim_trailing_whitespace = false
|
|
|
|
# Python: PEP8 defines 4 spaces for indentation
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
# Salt state files, YAML format, 2 spaces
|
|
[*.sls, *.yaml, *.yml]
|
|
indent_style = space
|
|
indent_size = 2
|