summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-11-22 18:33:28 +0000
committerGitHub <noreply@github.com>2022-11-22 18:33:28 +0000
commit9b4cb1e2edf3af181d6a0e11003a75e5b692364c (patch)
tree21e74906ed5e8f7ebfef2cb35d8d1c25b5e4fb78
parentTrack unconverted device list outbound pokes using a position instead (#14516) (diff)
downloadsynapse-9b4cb1e2edf3af181d6a0e11003a75e5b692364c.tar.xz
Apply correct editorconfig to .pyi files (#14526)
The current configuration might cause some editors to misbehave when editing stub files.
-rw-r--r--.editorconfig2
-rw-r--r--changelog.d/14526.misc1
2 files changed, 2 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index d629bede5e..bf9021ff82 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -4,7 +4,7 @@
 root = true
 
 # 4 space indentation
-[*.py]
+[*.{py,pyi}]
 indent_style = space
 indent_size = 4
 max_line_length = 88
diff --git a/changelog.d/14526.misc b/changelog.d/14526.misc
new file mode 100644
index 0000000000..84d4ada31b
--- /dev/null
+++ b/changelog.d/14526.misc
@@ -0,0 +1 @@
+Extend editorconfig rules on indent and line length to `.pyi` files.