Skip to content

Conversation

@peternowee
Copy link
Owner

@peternowee peternowee commented May 29, 2021

Example for discussion in pydot#265.

-/left side: black -l 79 --skip-string-normalization # 21.5b1 with some manual corrections.

+/right side: yapf # 0.31.0 with .style.yapf (below) and some manual corrections.

based_on_style=facebook
blank_line_before_nested_class_or_def=True
column_limit=79

Both started out from master:

           --> format-black
         /            ^
master--             / this PR is just to compare the two results
         \          /
           --> format-yapf-facebook

(so not master -> format-black -> format-yapf-facebook).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants