Skip to content

formatOnType strips spaces around = when used in type hints #1793

Closed
@brettcannon

Description

@brettcannon
def munge(input: AnyStr, sep: AnyStr = None, limit=1000): ...

becomes:

def munge(input: AnyStr, sep: AnyStr=None, limit=1000): ...

From PEP 8.

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