You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some type annotations say str but function actually expects list of strs #1205
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.
I'm planning to raise a PR to hopefully resolve this.
Since the latest VUnit releases support only Python3.10+, I can use the simpler | syntax for multiple type annotations rather than having to use the pre 3.10 Union from typing.
Activity
JHertz5 commentedon Jun 23, 2026
Since the latest VUnit releases support only Python3.10+, I can use the simpler
|syntax for multiple type annotations rather than having to use the pre 3.10Unionfromtyping.JHertz5 commentedon Jun 23, 2026
I've created PR#1206 to resolve this issue.
rpatel3001 commentedon Jul 23, 2026
some options also expect
bool