summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-09 01:12:03 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-04-09 01:12:03 +0200
commitd1fc4199fa889f289225f61c2c808b95cc63d807 (patch)
tree3943dab2281536fea719108f4742d834b70b1c3b /.editorconfig
parente09f5ff897543a93f561af68e3173050b1fe4b45 (diff)
Add ruff config and .editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..ebd9693
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+root = true
+
+[*]
+charset = utf-8
+trim_trailing_whitespace = true
+end_of_line = lf
+indent_style = space
+insert_final_newline = true
+indent_size = 2
+
+[*.{py,pyi}]
+indent_size = 4
+
+[*.md]
+max_line_length = 100