summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJens Vagelpohl <jens@plyp.com>2022-11-06 11:28:36 +0000
committerGitHub <noreply@github.com>2022-11-06 11:28:36 +0000
commit5148500f402b8eccb6dc19fa223c9ea9060f8425 (patch)
tree6b1f8bc53ff0384336482f016a44cc0c5f3b7027 /.editorconfig
parent85d9b50f1302e4bc85055a46ced8071f53e8318e (diff)
parentcb6def05fdea2b2c40bcc154a159cfae0ed46b92 (diff)
downloadzope-i18nmessageid-5148500f402b8eccb6dc19fa223c9ea9060f8425.tar.gz
Merge pull request #32 from zopefoundation/configure-with-c-code
Update with meta/config and add support for Python 3.9, 3.10 and 3.11
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..9d3c4f2
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,39 @@
+# Generated from:
+# https://github.com/zopefoundation/meta/tree/master/config/c-code
+#
+# EditorConfig Configuration file, for more details see:
+# http://EditorConfig.org
+# EditorConfig is a convention description, that could be interpreted
+# by multiple editors to enforce common coding conventions for specific
+# file types
+
+# top-most EditorConfig file:
+# Will ignore other EditorConfig files in Home directory or upper tree level.
+root = true
+
+
+[*] # For All Files
+# Unix-style newlines with a newline ending every file
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+# Set default charset
+charset = utf-8
+# Indent style default
+indent_style = space
+# Max Line Length - a hard line wrap, should be disabled
+max_line_length = off
+
+[*.{py,cfg,ini}]
+# 4 space indentation
+indent_size = 4
+
+[*.{yml,zpt,pt,dtml,zcml}]
+# 2 space indentation
+indent_size = 2
+
+[{Makefile,.gitmodules}]
+# Tab indentation (no size specified, but view as 4 spaces)
+indent_style = tab
+indent_size = unset
+tab_width = unset