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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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