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

Fix Mypy Errors Caused by Pillow #408

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Fix Mypy Errors Caused by Pillow #408

merged 2 commits into from
Apr 3, 2024

Conversation

callumforrester
Copy link
Contributor

@callumforrester callumforrester commented Apr 3, 2024

The new version of pillow (10.3.0) includes type hints, which seems to have
caused mypy to pay more attention to it and thrown up a couple of
issues. Nothing significant but blocks CI on other PRs.

Pillow PR that added type hints: python-pillow/Pillow@b6c755d

Instructions to reviewer on how to test:

  1. Ensure CI passes
  2. Can also run mypy locally

Checks for reviewer

  • Would the PR title make sense to a scientist on a set of release notes
  • If a new device has been added does it follow the standards

The new version of pillow includes type hints, which seems to have
caused mypy to pay more attention to it and thrown up a couple of
issues. Nothing significant but blocks CI on other PRs.
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.72%. Comparing base (8f13312) to head (bce7774).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #408   +/-   ##
=======================================
  Coverage   93.72%   93.72%           
=======================================
  Files          91       91           
  Lines        3474     3474           
=======================================
  Hits         3256     3256           
  Misses        218      218           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@dperl-dls dperl-dls left a comment

Choose a reason for hiding this comment

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

thanks!

@callumforrester callumforrester merged commit 747430b into main Apr 3, 2024
14 checks passed
@callumforrester callumforrester deleted the fix-mypy-errors branch April 3, 2024 09:25
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.

3 participants