Skip to content

[pre-commit.ci] pre-commit autoupdate#75

Merged
henryiii merged 3 commits into
mainfrom
pre-commit-ci-update-config
Sep 27, 2022
Merged

[pre-commit.ci] pre-commit autoupdate#75
henryiii merged 3 commits into
mainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci Bot commented Sep 26, 2022

updates:
- [github.com/asottile/pyupgrade: v2.38.0 → v2.38.2](asottile/pyupgrade@v2.38.0...v2.38.2)
@henryiii
Copy link
Copy Markdown
Member

henryiii commented Sep 27, 2022

This is a bug in MyPy when using NumPy; hoping it's fixed in 0.981 (out today, pre-commit's mirror should update tomorrow)

This should be the fix:

Allow stubs to use newer syntax than 3.7 (Shantanu, PR 13500)

@henryiii
Copy link
Copy Markdown
Member

Will go ahead and pin a Python 3.7 version of numpy for now, maybe can do better later. Technically, NumPy doesn't support 3.7 so this isn't that "wrong" (it was for Pyodide, which was 3.10 only and still breaking due to the 3.8 usage).

@henryiii henryiii merged commit 07c98c5 into main Sep 27, 2022
@henryiii henryiii deleted the pre-commit-ci-update-config branch September 27, 2022 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant