Skip to content

Some type annotations say str but function actually expects list of strs #1205

Description

@JHertz5

There are a few functions, e.g. vunit.ui.set_compile_option that have type annotations indicating that they expect a str for value, when actually they expect a list of str. This throws up errors on my python linter when using VUnit in python scripts.

Image

I'm planning to raise a PR to hopefully resolve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions