Skip to content

formatOnType add unnecessary spaces in kwargs in split line function #1796

@MisLink

Description

@MisLink
async def fetch():
    async with aiohttp.ClientSession() as session:
        async with session.ws_connect(
                'http://127.0.0.1:8000/', headers=cookie) as ws:  # longer than max line-length
<enter>

 async def fetch():
    async with aiohttp.ClientSession() as session:
        async with session.ws_connect(
                'http://127.0.0.1:8000/', headers = cookie) as ws:  # add unwanted spaces

Metadata

Metadata

Labels

area-formattingbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions