Skip to content

Allow multi-imports for typing #11

@bhrutledge

Description

@bhrutledge

Per the Google Style Guide, an exception to the "one import per line" rule is allowed for the typing module. Currently, it looks like the only way to accomplish this is with --multi-imports, which affects all imports.

IE, instead of:

from typing import Dict
from typing import IO
from typing import Optional
from typing import Sequence
from typing import Tuple
from typing import Union

Format as:

from typing import Dict, IO, Optional, Union, Sequence, Tuple

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions