forked from pydot/pydot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to code formatter Black: Quotes, 2nd run
Let `black` take care of the quotes as well, meaning a switch from single quotes to double quotes (except for where it would result in more backslash escapes). Currently, `black` can only be configured to either enforce double quotes or skip this altogether, not to enforce single quotes. I had some doubts about this switch at first, but noticed that several other projects and their documentation examples have switched to using double quotes now. Holding on to a consistent use of single quotes could become more of a burden, while offering only little benefit. Changes from single quotes to double quotes that were made manually: - Examples in `README.md`. - `pydot.py`, the `*_ATTRIBUTES` constants at the top, because they are surrounded by `# fmt: off` and `# fmt: on` pragmas. Note this is all about quotes around Python strings in the pydot source code and not at all related to quotes that are part of a DOT string.
- Loading branch information
1 parent
65988af
commit cdbfc3e
Showing
6 changed files
with
508 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.