switch python autoformatter to isort+black+autoflake

This commit is contained in:
Kovid Goyal 2022-09-21 17:18:06 +05:30
parent f85e7ce880
commit add199a08b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1,19 +1,11 @@
[flake8]
max-line-length = 160
builtins = _,__,P,I,lopen,icu_lower,icu_upper,icu_title,ngettext,connect_lambda
ignore = E12,E203,E22,E231,E241,E401,E402,E731,W391,E722,E741,W504
[yapf]
based_on_style = pep8
column_limit = 85
split_penalty_import_names = 100
dedent_closing_brackets = True
coalesce_brackets = True
blank_line_before_nested_class_or_def = True
ignore = E12,E203,E22,E231,E241,E401,E402,E503,E731,W391,E722,E741,W504,W203
[isort]
profile = black
combine_as_imports = True
line_length = 85
multi_line_output = 5
known_future_library = __python__
known_third_party = qt