summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-03-02 01:05:57 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2019-03-02 01:05:57 -0800
commit144ee75f0a37b0acaf5440309991c95953fb0ee5 (patch)
treee7b106146419ffc550e6bc43a08cde21cfa5b4f4 /.editorconfig
parent6fdb1d67ca4c3b1ebcea4436c8b4cc20c13b2862 (diff)
downloadisort-144ee75f0a37b0acaf5440309991c95953fb0ee5.tar.gz
Adding missing editor config file back
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..094bc546
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,20 @@
+root = true
+
+[*.py]
+max_line_length = 120
+indent_style = space
+indent_size = 4
+known_first_party = isort
+known_third_party = kate
+ignore_frosted_errors = E103
+skip = build,.tox,venv
+balanced_wrapping = true
+not_skip = __init__.py
+
+[*.{rst,ini}]
+indent_style = space
+indent_size = 4
+
+[*.yml]
+indent_style = space
+indent_size = 2