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

Drop # type: ignore comments for @hookimpl #95

Merged

Conversation

godlygeek
Copy link
Contributor

These no longer trigger a warning with the current versions of mypy,
pytest, and pluggy. It looks as though these calls have been typed since
pluggy 1.2.0, which was released 3 months ago.

We didn't notice this because our lint checks weren't scheduled to run on a schedule. This PR fixes that as well.

sarahmonod
sarahmonod previously approved these changes Sep 25, 2023
@godlygeek
Copy link
Contributor Author

Mind taking another look at this @gusmonod ?

I needed to push another commit to address some test flakiness on main, and that dismissed your approval.

These no longer trigger a warning with the current versions of mypy,
pytest, and pluggy. It looks as though these calls have been typed since
pluggy 1.2.0, which was released 3 months ago.

Signed-off-by: Matt Wozniski <[email protected]>
Previously only builds and tests were run on a schedule, not linting and
docs tests, which let the main branch begin failing to lint without us
noticing.

Signed-off-by: Matt Wozniski <[email protected]>
This fixes test flakiness caused by allocations made by the
interpreter's eval loop itself.

Signed-off-by: Matt Wozniski <[email protected]>
@godlygeek godlygeek force-pushed the drop_hookimpl_type_ignore_comments branch from c02b7e4 to e137fa2 Compare September 25, 2023 20:07
The allocation sizes performed by this test are too low, and so
allocations performed by the interpreter itself could wind up being
larger and skewing the test output. Allocate more memory to drown out
the noise.

Signed-off-by: Matt Wozniski <[email protected]>
@godlygeek godlygeek merged commit 67d731e into bloomberg:main Sep 27, 2023
10 checks passed
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.

None yet

2 participants