-
Notifications
You must be signed in to change notification settings - Fork 756
Make the ssg module to pass mypy #14077
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
str is no longer ANSSI only
As Python 3.0 is has been moved. See: https://docs.python.org/3.0/library/urllib.parse.html#urllib.parse.quote
pipes is a Python 2 thing. See https://docs.python.org/3/library/shlex.html#shlex.quote
Also more type safe
Nothing we can do
These seem to be cursed. For now, we will just ignore them. Maybe some day I will solve typing puzzle.
Made mypy mad, it is bad form, and outside of the try catch doesn't really do anything on in this case.
34d3848 to
13707e2
Compare
9439b29 to
70fafa9
Compare
|
/packit retest-failed |
|
This PR is big enough, once this PR is merged I will open a new PR to add more types. |
|
@Mab879: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description:
I might split this PR up, mainly creating this PR to see how much of the CI I fail.
Rationale:
Allow us to catch bugs easier.
Review Hints:
Check that mypy is ran for the
ssgpackage in CI