Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] Compare format-black vs. format-yapf-facebook #7

Open
wants to merge 5 commits into
base: format-black
Choose a base branch
from

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
1 participant