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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

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.

1 participant