Skip to content

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

Merged
rswarbrick merged 1 commit into
lowRISC:masterfrom
rswarbrick:element-list-types
May 26, 2026
Merged

refactor: Collect tps/cgs with tighter types in testplan.py#219
rswarbrick merged 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.

@rswarbrick rswarbrick requested a review from AlexJones0 May 21, 2026 12:49

@AlexJones0 AlexJones0 left a comment

Copy link
Copy Markdown
Contributor

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!

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 force-pushed the element-list-types branch from a8684aa to c2227ec Compare May 26, 2026 09:03
@rswarbrick rswarbrick added this pull request to the merge queue May 26, 2026
Merged via the queue into lowRISC:master with commit f328cbc May 26, 2026
6 checks passed
@rswarbrick rswarbrick deleted the element-list-types branch May 26, 2026 09:05
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