Added .editorconfig for easier editing.

Editor Config allows local per-project configuration to be expressed in a single
file, which makes it easy for one to work across many repos with many projects,
each of which may have its own preferred indentation, spacing, EOL, encoding,
etc. styles.

This change just adds 4-space indent for Python; other rules can be added quite
easily. The file has a pointer to the project's homepage which explains how to
install editor-specific plugins to handle this config and how to extend this
config further.
This commit is contained in:
Misha Brukman 2015-10-04 21:31:38 -04:00
parent 8d1e066ef3
commit 364006bcfb

7
.editorconfig Normal file
View File

@ -0,0 +1,7 @@
# For more info on EditorConfig, see: http://EditorConfig.org
root = true
[*.py]
indent_style = space
indent_size = 4