Skip to content

Temporary mypy workaround#10748

Closed
richardpaulhudson wants to merge 1 commit intoexplosion:masterfrom
richardpaulhudson:feature/mypy-workaround
Closed

Temporary mypy workaround#10748
richardpaulhudson wants to merge 1 commit intoexplosion:masterfrom
richardpaulhudson:feature/mypy-workaround

Conversation

@richardpaulhudson
Copy link
Contributor

Description

explosion/thinc#599 will fix a range of typing issues. It is intended to follow up with a similar spaCy PR. However, the Thinc PR causes a typing problem in spaCy to be picked up by mypy/pydantic that was not flagged up until now. This PR temporarily suppresses the warning using a #type: ignore statement.

Types of change

Temporary workaround

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran the tests, and all new and existing tests passed.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@richardpaulhudson richardpaulhudson deleted the feature/mypy-workaround branch May 3, 2022 11:24
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