Browse Source

Apply correct editorconfig to .pyi files (#14526)

The current configuration might cause some editors to misbehave when editing stub files.
Brendan Abolivier 1 year ago
parent
commit
9b4cb1e2ed
2 changed files with 2 additions and 1 deletions
  1. 1 1
      .editorconfig
  2. 1 0
      changelog.d/14526.misc

+ 1 - 1
.editorconfig

@@ -4,7 +4,7 @@
 root = true
 
 # 4 space indentation
-[*.py]
+[*.{py,pyi}]
 indent_style = space
 indent_size = 4
 max_line_length = 88

+ 1 - 0
changelog.d/14526.misc

@@ -0,0 +1 @@
+Extend editorconfig rules on indent and line length to `.pyi` files.