Browse Source

Apply correct editorconfig to .pyi files (#14526)

The current configuration might cause some editors to misbehave when editing stub files.
tags/v1.73.0rc1
Brendan Abolivier 1 year ago
committed by GitHub
parent
commit
9b4cb1e2ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      .editorconfig
  2. +1
    -0
      changelog.d/14526.misc

+ 1
- 1
.editorconfig View File

@@ -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 View File

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

Loading…
Cancel
Save