Skip to content

szuckerman/annotation_validation

Repository files navigation

Annotation Validation

Documentation Status Updates

Annotation Validation ensures type checking for function annotations.

Features

  • Validates input to match data types of annotations of function arguments
  • Validates output to match data type of annotation of return argument
  • Used as a decorator!

Possible Improvements

  • Validation of ranges of input
  • Throw warnings instead of errors
  • Logging

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Inspiration is from this blog post.

About

This package validates function type annotations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published