浏览代码

editorconfig: add max_line_length for Python files (#13228)

See the documentation for the property here:
https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length

Signed-off-by: Sumner Evans <me@sumnerevans.com>
tags/v1.63.0rc1
Sumner Evans 1年前
committed by GitHub
父节点
当前提交
739adf1551
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. +1
    -0
      .editorconfig
  2. +1
    -0
      changelog.d/13228.misc

+ 1
- 0
.editorconfig 查看文件

@@ -7,3 +7,4 @@ root = true
[*.py]
indent_style = space
indent_size = 4
max_line_length = 88

+ 1
- 0
changelog.d/13228.misc 查看文件

@@ -0,0 +1 @@
Add `max_line_length` setting for Python files to the `.editorconfig`. Contributed by @sumnerevans @ Beeper.

正在加载...
取消
保存