Skip to content

In type_check_only function flush_errors parameter should be optional #4681

Closed
@derlih

Description

@derlih

In PR #4396 flush_errors parameter was added to type_check_only function from main.py:

def type_check_only(sources: List[BuildSource], bin_dir: Optional[str], options: Options, flush_errors: Optional[Callable[[List[str], bool], None]]) -> BuildResult:

But flush_errors parameter doesn't have the default value (I assume it should be None).

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