diff --git a/.editorconfig b/.editorconfig
index d629bede5ec5fe33a8ea0f7368ecccdeb748b5ba..bf9021ff821d52a4ba3a8ef8469126e76d25483b 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 0000000000000000000000000000000000000000..84d4ada31bfcffda57133826d7457560645e6dc5
--- /dev/null
+++ b/changelog.d/14526.misc
@@ -0,0 +1 @@
+Extend editorconfig rules on indent and line length to `.pyi` files.