forked from psf/black
-
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.
fix handling of comments in from imports (psf#829)
Fixes psf#671
- Loading branch information
1 parent
e6ddb68
commit 6b994fd
Showing
3 changed files
with
69 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
from .config import ( | ||
Any, | ||
Bool, | ||
ConfigType, | ||
ConfigTypeAttributes, | ||
Int, | ||
Path, | ||
# String, | ||
# resolve_to_config_type, | ||
# DEFAULT_TYPE_ATTRIBUTES, | ||
) | ||
|
||
|
||
from .config import ( | ||
Any, | ||
Bool, | ||
ConfigType, | ||
ConfigTypeAttributes, | ||
Int, | ||
no_comma_here_yet | ||
# and some comments, | ||
# resolve_to_config_type, | ||
# DEFAULT_TYPE_ATTRIBUTES, | ||
) | ||
|
||
# output | ||
|
||
from .config import ( | ||
Any, | ||
Bool, | ||
ConfigType, | ||
ConfigTypeAttributes, | ||
Int, | ||
Path, | ||
# String, | ||
# resolve_to_config_type, | ||
# DEFAULT_TYPE_ATTRIBUTES, | ||
) | ||
|
||
|
||
from .config import ( | ||
Any, | ||
Bool, | ||
ConfigType, | ||
ConfigTypeAttributes, | ||
Int, | ||
no_comma_here_yet, | ||
# and some comments, | ||
# resolve_to_config_type, | ||
# DEFAULT_TYPE_ATTRIBUTES, | ||
) |
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