mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00

* If a dev adds an editorconfig plugin to their editor, automatically configure their editor for code style. * Specify 4-space softtabs so new code will be compatible with Python 3. * Put the same settings in .gitattributes so git diff highlights whitespace errors.
23 lines
493 B
INI
23 lines
493 B
INI
; Unify the coding style for different editors and IDEs.
|
|
; Plugins are available for emacs, vim, gedit, textmate, and more
|
|
; at http://editorconfig.org/#download
|
|
;
|
|
; See http://editorconfig.org or https://github.com/editorconfig/
|
|
;
|
|
; If you change a setting in this file,
|
|
; you should also change .gitattributes
|
|
|
|
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 4
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.py]
|
|
indent_size = 4
|
|
|
|
[*.yml]
|
|
indent_size = 2
|