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

Enforce MyPy type checks, ignore files with known issues #282

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

tiran
Copy link
Collaborator

@tiran tiran commented Aug 1, 2024

Thanks to Shubh's relentless work, most files now pass MyPy type checker. It's time to ensure that new code does not introduce regressions.

  • enforce successful MyPy runs in tox.ini and GitHub Actions
  • ignore MyPy errors in files with known issues
  • fix a bunch of low hanging fruits in tests

See: #226

Thanks to Shubh's relentless work, most files now pass MyPy type
checker. It's time to ensure that new code does not introduce
regressions.

- enforce successful MyPy runs in `tox.ini` and GitHub Actions
- ignore MyPy errors in files with known issues
- fix a bunch of low hanging fruits in tests

See: python-wheel-build#226
Signed-off-by: Christian Heimes <cheimes@redhat.com>
@shubhbapna
Copy link
Collaborator

Should we enable strict mode for mypy (at least for the source code)?

@tiran
Copy link
Collaborator Author

tiran commented Aug 1, 2024

Should we enable strict mode for mypy (at least for the source code)?

Yes, let's fix all files first, then might MyPy tighter.

@mergify mergify bot merged commit 41223b3 into python-wheel-build:main Aug 1, 2024
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants