-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
STYLE remove --keep-runtime-typing from pyupgrade #40759
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
Comments
Hi As an example, for the file pandas/core/dtypes/generic.py -> But I don't see anything which suggests there is anything wrong with line 37 : There are multiple such instances in the same file. |
Hi @fathomer ,
|
@MarcoGorelli raised the pull request, but there are some errors now in mypy type validations due to the changes by pyupgrade. |
I've left a comment on the PR (#40773 (comment)), let's continue the conversation there |
* STY: remove --keep-runtime-typing from pyupgrade #40759 Final_Part-5 * fixup pyupgrade * fixup * fixup * noop Co-authored-by: Marco Gorelli <[email protected]>
…-dev#40805) * STY: remove --keep-runtime-typing from pyupgrade pandas-dev#40759 Final_Part-5 * fixup pyupgrade * fixup * fixup * noop Co-authored-by: Marco Gorelli <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
xref @simonjayhawkins 's comment: #40545 (comment)
Task is:
keep-runtime-typing
from:pandas/.pre-commit-config.yaml
Line 57 in cc84a23
pre-commit run pyupgrade --all-files
pre-commit run flake8 --all-files
, fixup any errors (probably some about extra imports)Finally, run
pre-commit run --all-files
(this may take a few minutes), fixup any hooks which don't pass, and when everything passes, open a pull request 🚀The text was updated successfully, but these errors were encountered: