aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-24 02:50:40 +0000
committerSam James <sam@gentoo.org>2023-03-24 02:50:40 +0000
commit08af5752b8f433ed921ac13128c6f810df1f3fe3 (patch)
tree338ca03e707da579095d343bafba43a1a56d1bd0 /.editorconfig
parentSupport the NO_COLOR environment variable (diff)
downloadgentoolkit-08af5752b8f433ed921ac13128c6f810df1f3fe3.tar.gz
gentoolkit-08af5752b8f433ed921ac13128c6f810df1f3fe3.tar.bz2
gentoolkit-08af5752b8f433ed921ac13128c6f810df1f3fe3.zip
.editorconfig: add (import from portage)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..68c8e6c
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+# Copyright 2017-2020 Gentoo Authors
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = tab
+indent_size = 4
+tab_width = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{py,yaml,yml}]
+indent_style = space
+
+[pylintrc]
+indent_style = space
+
+[*.py]
+profile = black