-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
dummy_implementations
preview style
* Only collapse dummy blocks if the parent is a function definition or class definition * Don't insert empty lines between two function definitions if the preceding statement is a dummy definition and the two definitions aren't separated by an empty line. Not enforcing an empty lines allows grouping overloaded function definitions. Signed-off-by: Micha Reiser <micha@reiser.io>
- Loading branch information
1 parent
b037b77
commit 2ce7f10
Showing
6 changed files
with
159 additions
and
294 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
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
276 changes: 0 additions & 276 deletions
276
...ormatter/tests/snapshots/black_compatibility@cases__preview_dummy_implementations.py.snap
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.