Skip to content

Conversation

@fathomer
Copy link
Contributor

@fathomer fathomer commented Apr 6, 2021

xref #40759 :
Changes here are from PEP585 (e.g. List[str] -> list[str]) and from PEP604 (Optional[str] -> str | None), both of which are only applied in the presence of from future import annotations. Some imports became unused after this so those have been removed.
As there were changes in many files (97) this has been split up into 5 smaller PRs.
This is PR 3 of 5.

Refer the discussion here : #40773

  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@fathomer fathomer changed the title STY: remove --keep-runtime-typing from pyupgrade #40759 Part-3 STY: remove --keep-runtime-typing from pyupgrade Part-3 Apr 6, 2021
@MarcoGorelli MarcoGorelli added the Code Style Code style, linting, code_checks label Apr 6, 2021
@MarcoGorelli MarcoGorelli added this to the 1.3 milestone Apr 6, 2021
@MarcoGorelli MarcoGorelli merged commit 50658ef into pandas-dev:master Apr 6, 2021
@MarcoGorelli
Copy link
Member

MarcoGorelli commented Apr 6, 2021

looks like this is breaking some CI checks, even though it was all green here - will take a look now

EDIT

looks like it's unrelated, something to do with conda-incubator

JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Style Code style, linting, code_checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants