Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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