-
Notifications
You must be signed in to change notification settings - Fork 37
typing fixes and improvements #107
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
Conversation
Thank you. Did you figure out, why the call overload is complaining? |
Since we target Python 3.9, typing.Dict and typing.List are deprecated and builtins can be used instead.
This is possible since Python 3.9, so fine for us.
This is because of the |
Ok good. Can you elaborate a bit? |
The previous type hint for
No, it's still needed because, on linux, subprocess has no
I changed the test to reuse the value from |
Ok, thx for the explanation. It seems like you did not run the black formatter. |
Done |
Fixed the flake8 error, sorry about that. |
line 73 still is too long? |
This 'type ignore' is because mypy will raise an error on Linux as the subprocess module does not have a CREATE_NO_WINDOW attribute defined.
fixed... |
Thank you for your contribution. |
A few commits to make mypy happy in the code base.