Skip to content

refactor: Collect tps/cgs with tighter types in testplan.py#219

Open
rswarbrick wants to merge 1 commit into
lowRISC:masterfrom
rswarbrick:element-list-types
Open

refactor: Collect tps/cgs with tighter types in testplan.py#219
rswarbrick wants to merge 1 commit into
lowRISC:masterfrom
rswarbrick:element-list-types

Conversation

@rswarbrick
Copy link
Copy Markdown
Contributor

There's no functional change, but this avoids needing to pass around constructors. As a result, the inferred types for Testplan.testpoints and Testpaln.covergroups are tighter, meaning that some following code is now well-typed.

There's no functional change, but this avoids needing to pass around
constructors. As a result, the inferred types for Testplan.testpoints
and Testpaln.covergroups are tighter, meaning that some following code
is now well-typed.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
@rswarbrick rswarbrick requested a review from AlexJones0 May 21, 2026 12:49
Copy link
Copy Markdown
Contributor

@AlexJones0 AlexJones0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! This looks like a great improvement. Thanks @rswarbrick!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants