-
Notifications
You must be signed in to change notification settings - Fork 651
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
[WIP] Add typing information for contexts, token #4346
base: main
Are you sure you want to change the base?
Conversation
|
Dear maintainers, on the original PR #4164 I cannot see the details of the github action test failures, to me the code contribution by @hyoinandout looks good and mergeable. If there are incompatabilities with the python-contrib-instrumentations I am willing to look into it, but for this I'd need to see the github-action-results/failures ;) |
@@ -64,7 +64,7 @@ def test_attach(self): | |||
self.assertEqual("yyy", context.get_value("a")) | |||
|
|||
with self.assertLogs(level=ERROR): | |||
context.detach("some garbage") | |||
context.detach("some garbage") # type:ignore |
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.
Why is the type: ignore
needed?
context.detach("some garbage") # type:ignore | |
context.detach("some garbage") # type: ignore[?] |
Description
Trying to get #4164 in.
Opening this 1:1 similar PR for now, with changes from upstream/main, to see how the tests look. Locally, all tests are green.
This is WIP for now.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Ran the
tox
full test suite locally, all green. Waiting for maintainer approval for the github actions testsDoes This PR Require a Contrib Repo Change?
Checklist: