Skip to content
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

Automated type checking with Beartype #819

Merged
merged 7 commits into from Aug 11, 2021
Merged

Conversation

jonmclean
Copy link
Contributor

  • [Y ] Does this PR add any new dependencies?
  • [Y] Does this PR modify any existing APIs?
    • [Y ] Is the change to the API backwards compatible?
  • [N/A] Have you built the documentation (reference and/or tutorial) and verified the generated documentation is appropriate?

Reference Issues/PRs

none

What does this implement/fix? Briefly explain your changes.

This PR adds beartype runtime type checking to the "pipeline" package. Beartype checks input values against PEP-compliant type hints. When the type is nested (such as arrays or arrays of arrays) beartype samples data to maintain runtime speed.

Any other comments?

@netlify
Copy link

netlify bot commented Aug 10, 2021

❌ Deploy Preview for graspologic failed.

🔨 Explore the source changes: 34ca3ef

🔍 Inspect the deploy log: https://app.netlify.com/sites/graspologic/deploys/61130b576775f200081eb5ae

@jonmclean jonmclean merged commit 402e7c6 into dev Aug 11, 2021
@jonmclean jonmclean deleted the automated-type-checking branch August 11, 2021 14:51
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.

None yet

2 participants