PM014#
- class src.ansys.pre_commit_hooks.quality_rules.project_metadata.PM014#
Bases:
ProjectMetadataThe LICENSE file contains the standard MIT or Apache 2.0 license text.
Overview#
Return whether the LICENSE file contains the standard MIT or Apache 2.0 text. |
Import detail#
from src.ansys.pre_commit_hooks.quality_rules.project_metadata import PM014
Method detail#
- static PM014.check(repository_root: pathlib.Path, readme_file: str | None) ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#
Return whether the LICENSE file contains the standard MIT or Apache 2.0 text.