switch python autoformatter to isort+black+autoflake

This commit is contained in:
Kovid Goyal 2022-09-21 13:40:37 +05:30
parent e2a251224d
commit 2dc9488909
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1,15 +1,10 @@
[flake8]
max-line-length = 160
exclude==template.py,linux-package
[yapf]
based_on_style = pep8
split_penalty_import_names = 100
dedent_closing_brackets = True
coalesce_brackets = True
blank_line_before_nested_class_or_def = True
extend_ignore=W503,E203
[isort]
profile = black
combine_as_imports = True
multi_line_output = 5