Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mypy configuration for tests #2124

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

jonathangreen
Copy link
Member

Description

Update mypy configuration for our tests to:

  • Disable union-attr check
  • Disable warn-unreachable

Motivation and Context

Both of these flags don't provide a lot of value in our tests, and cause us to have to add a bunch of ignore comments, so just disabling them seems like a better option.

How Has This Been Tested?

  • Mypy / tests in CI

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

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

LGTM!

@jonathangreen jonathangreen merged commit 743d8f7 into main Oct 22, 2024
20 checks passed
@jonathangreen jonathangreen deleted the chore/mypy-config-tests branch October 22, 2024 19:31
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