src.ansys.pre_commit_hooks.tech_review.check_setup_py#

src.ansys.pre_commit_hooks.tech_review.check_setup_py(author_maint_name: str, author_maint_email: str, is_compliant: bool) tuple#

Check setup.py file for correct naming convention, version, author, and maintainer.

Parameters:
author_maint_name: str

Project author and maintainer’s name.

author_maint_email: str

Project author and maintainer’s email.

is_compliant: bool

True if the repository is compliant. False if the repository is not compliant.

Returns:
bool

True if the repository is compliant. False if the repository is not compliant.

str

An empty string since the setup.py check is not implemented.