Created
April 24, 2019 16:46
-
-
Save stephen-bunn/273ab32134babfe992882dbc03fc1c36 to your computer and use it in GitHub Desktop.
Medium - Python Editorconfig Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig http://editorconfig.org | |
root = true | |
# global config | |
[*] | |
charset = utf-8 | |
indent_style = space | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
# python config | |
[*.py] | |
indent_size = 4 | |
# sphinx config | |
[*.rst] | |
indent_size = 3 | |
# external config | |
[*.{json,yaml,yml,toml,html,js}] | |
indent_size = 2 | |
# batch config | |
[*.{bat}] | |
end_of_line = crlf | |
# license config | |
[LICENSE] | |
insert_final_newline = false | |
# make config | |
[Makefile] | |
indent_style = tab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment