Skip to content

excuse type checking specific code from coverage#147

Merged
bckohan merged 1 commit intomainfrom
coverage
Feb 9, 2026
Merged

excuse type checking specific code from coverage#147
bckohan merged 1 commit intomainfrom
coverage

Conversation

@bckohan
Copy link
Owner

@bckohan bckohan commented Feb 9, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 9, 2026 18:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts coverage accounting so that code executed only during static type checking (typing.TYPE_CHECKING) does not count against runtime test coverage.

Changes:

  • Marked TYPE_CHECKING-only enum mixin base assignments as excluded from coverage reporting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bckohan bckohan merged commit add3c72 into main Feb 9, 2026
32 checks passed
@bckohan bckohan deleted the coverage branch February 9, 2026 18:50
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