mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Switch to using yapf for python code formatting
This commit is contained in:
parent
59a430f23a
commit
36e9dcf2ad
@ -2,3 +2,10 @@
|
|||||||
max-line-length = 160
|
max-line-length = 160
|
||||||
builtins = _,dynamic_property,__,P,I,lopen,icu_lower,icu_upper,icu_title,ngettext
|
builtins = _,dynamic_property,__,P,I,lopen,icu_lower,icu_upper,icu_title,ngettext
|
||||||
ignore = E12,E203,E22,E231,E241,E401,E402,E731,W391
|
ignore = E12,E203,E22,E231,E241,E401,E402,E731,W391
|
||||||
|
|
||||||
|
[yapf]
|
||||||
|
based_on_style = pep8
|
||||||
|
column_limit = 85
|
||||||
|
split_penalty_import_names = 100
|
||||||
|
dedent_closing_brackets = True
|
||||||
|
coalesce_brackets = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user