mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-07 10:20:58 +08:00
Install Black and isort autoformatters (#3069)
* Install Black and isort * Add config via pyproject.toml Notably we keep the convention of 130 line length. * Add target python version
This commit is contained in:
committed by
Sebastian Rittau
parent
64b12bf7f1
commit
8131bfc3f6
11
pyproject.toml
Normal file
11
pyproject.toml
Normal file
@@ -0,0 +1,11 @@
|
||||
[tool.black]
|
||||
line_length = 130
|
||||
target_version = ["py37"]
|
||||
|
||||
[tool.isort]
|
||||
multi_line_output = 3
|
||||
include_trailing_comma = true
|
||||
force_grid_wrap = 0
|
||||
use_parentheses = true
|
||||
combine_as_imports = true
|
||||
line_length = 130
|
||||
Reference in New Issue
Block a user