-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ci: make Pyright report unnecessary type ignore comments #1333
ci: make Pyright report unnecessary type ignore comments #1333
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to my comment on #1332, let's just ensure that removing these doesn't mess with charms that use MyPy for type checking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm not totally following these various PRs. Could you please adjust the description to make it clearer what the aim of this PR is?
I've updated the description. |
ebca0e6
to
0102307
Compare
0102307
to
7cec1ef
Compare
re failing o11y tests, it's an upstream issue, a test dep is not pinned: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup, thanks!
Parent: https://warthogs.atlassian.net/browse/CHARMTECH-232
Covered in the parent epic:
Plan in this story:
Ref: "How to write negative type tests?" microsoft/pyright#8803
Part 2, based on #1332
MyPy checks, pinned mypy:
nginx-ingress-integrator-operator
mypy 1.6.1 OKsdcore-webui-operator
mypy 1.11.1 OKSuper-tox, running on host (macos)