-
-
Notifications
You must be signed in to change notification settings - Fork 107
Partial Implementation of fixing the typing of tests. #2563
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
base: master
Are you sure you want to change the base?
Conversation
…e to the fact that typing is not possible until the usages are typed.
Also remove all uses of contextlib.ExitStack in tests where simple 'with' chained blocks work Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
Signed-off-by: davfsa <[email protected]>
…into fix/typing-tests
davfsa
left a comment
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.
Going to really trust the testing structure here and give it a good old 👍 .
Hopefully we can keep working on this in the future, but looks good for now :)
| path: .coverage | ||
| retention-days: 1 | ||
| if-no-files-found: error | ||
| include-hidden-files: true |
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.
Lets revert the changes in this file for now.
We can enable it in the future when it doesnt cause the pipeline to be marked as failed
|
|
||
| # Default sessions should be defined here | ||
| nox.options.sessions = ["reformat-code", "codespell", "pytest", "ruff", "slotscheck", "mypy", "verify-types"] | ||
| nox.options.sessions = [ |
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.
I dont want it to run by default if its not something that is expected to pass as of right now
Summary
This a partial implementation of the pull request 2213.
The goal of this is to make the future implementation much easier, due to the fact that "most" of the stuff has been completed.
Checklist
noxand all the pipelines have passed.