Skip to content

Type comments are positioned incorrect #12

Closed
@rioj7

Description

@rioj7

For the following functions the type comment line is placed incorrect

line 267: def inputCustom()
line 330: def inputNum()

The type recognition is incorrect because the type line is placed incorrect

def inputCustom(
    # type: (Callable, str, .....) -> Any
    customValidationFunc,
    prompt="",
    .....):
    """Prompts the user to enter input. ....."""

it should be AFTER the argument list.

def inputCustom(
    customValidationFunc, prompt="", .....):
    # type: (Callable, str, .....) -> Any
    """Prompts the user to enter input. ....."""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions