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

Consider adding asserts to enforce contracts on public methods/functions. #628

Open
christinaholtNOAA opened this issue Oct 28, 2024 · 0 comments

Comments

@christinaholtNOAA
Copy link
Collaborator

AC

Description

It might make user-facing functions and methods easier to work with if we have code that more strictly enforces the contract with the caller. While mypy does that for us with internal use, API users are possibly going to have a harder time figuring it out.

@christinaholtNOAA christinaholtNOAA converted this from a draft issue Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant