-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit is the next in a commit chain adding portable support for the third-party PEP-noncompliant `numpy.typing.NDArray` type hint newly introduced with NumPy >= 1.21.0, en route to resolving issue #42 kindly submitted by NumPy extraordinaire @Antyos. Specifically, this commit refactors the pivotal `beartype._util.hint.pep.utilpeptest.is_hint_pep()` tester to defer to the even-more-pivotal `beartype._util.hint.pep.utilpeptest.get_hint_pep_sign_or_none()` getter, dramatically streamlining detection of PEP-compliant type hints. (*Misbegotten hierophants misfire triumphantly!*)
- Loading branch information
Showing
15 changed files
with
195 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.