-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
F: linebreakHow should we split up lines?How should we split up lines?R: duplicateThis issue or pull request already existsThis issue or pull request already existsT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?
Description
This is how I want my code to look
_cfg_dir = (_os.environ.get('RYO_USER_CONFIG_DIR')
or _appdirs.user_config_dir('ryo-iso', 'HxR'))
and I'm OK with something like
_cfg_dir = (
_os.environ.get('RYO_USER_CONFIG_DIR')
or _appdirs.user_config_dir('ryo-iso', 'HxR')
)
but this is how black
wants my code to look
_cfg_dir = _os.environ.get(
"RYO_USER_CONFIG_DIR"
) or _appdirs.user_config_dir("ryo-iso", "HxR")
🤷♂️
Operating system:
Python version: 3.6.8
Black version: 19.3b0
Does also happen on master: yes
ovidiu-munteanu, vuchetichbalint, zseder, MarkusPiotrowski, kaste and 1 more
Metadata
Metadata
Assignees
Labels
F: linebreakHow should we split up lines?How should we split up lines?R: duplicateThis issue or pull request already existsThis issue or pull request already existsT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?