pyproject.toml: Set isort include_trailing_comma, reformat lib.App #108
2 changed files with 10 additions and 2 deletions
|
|
@ -18,6 +18,11 @@
|
|||
[tool.isort]
|
||||
|
||||
multi_line_output = 3
|
||||
|
||||
# Keep trailing commas so that yapf's split_arguments_when_comma_terminated
|
||||
# keeps the one-per-line layout that isort produces.
|
||||
include_trailing_comma = true
|
||||
|
||||
line_length = 88
|
||||
lines_after_imports = 1
|
||||
lines_between_sections = 1
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@ import sys
|
|||
import warnings
|
||||
|
||||
from argparse import (
|
||||
ArgumentDefaultsHelpFormatter, ArgumentParser, Namespace, _SubParsersAction
|
||||
ArgumentDefaultsHelpFormatter,
|
||||
ArgumentParser,
|
||||
Namespace,
|
||||
_SubParsersAction,
|
||||
)
|
||||
from typing import TYPE_CHECKING, Any, NamedTuple, cast, override
|
||||
|
||||
|
|
@ -24,7 +27,7 @@ from .log import (
|
|||
parse_log_flags,
|
||||
parse_log_level,
|
||||
set_log_flags,
|
||||
set_log_level
|
||||
set_log_level,
|
||||
)
|
||||
from .Types import LoadTypes
|
||||
from .util import pretty_cmd
|
||||
|
|
|
|||
Loading…
Reference in a new issue