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

Add ignores to mypy false positives #1274

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

andreas-el
Copy link
Contributor

@andreas-el andreas-el commented Apr 29, 2024

This issue closes #1273

The affected code seems to be correct;
https://pillow.readthedocs.io/en/stable/reference/ImageDraw.html#PIL.ImageDraw.Draw

These mypy reported errors was introduced when updating to Pillow 10.3.0 https://pypi.org/project/pillow/10.3.0/

This will clog the daily builds for webviz-subsurface repo.

Contributor checklist

  • 🎉 This PR closes #ISSUE_NUMBER.
  • 📜 I have broken down my PR into the following tasks:
    • Task 1
    • Task 2
  • 🤖 I have added tests, or extended existing tests, to cover any new features or bugs fixed in this PR.
  • 📖 I have considered adding a new entry in CHANGELOG.md, and added it if should be communicated there.

The affected code seems to be correct;
https://pillow.readthedocs.io/en/stable/reference/ImageDraw.html#PIL.ImageDraw.Draw

These mypy reported errors was introduced when updating to Pillow 10.3.0
https://pypi.org/project/pillow/10.3.0/
@HansKallekleiv HansKallekleiv merged commit 04cd39a into equinor:master Apr 30, 2024
4 checks passed
@andreas-el andreas-el deleted the pillow_mypy_issues branch April 30, 2024 08:10
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.

pillow 10.3.0 prohibits daily build
2 participants