mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
switch python autoformatter to isort+black+autoflake
This commit is contained in:
parent
f85e7ce880
commit
add199a08b
12
setup.cfg
12
setup.cfg
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user