PM003#
- class src.ansys.pre_commit_hooks.quality_rules.project_metadata.PM003#
Bases:
ProjectMetadataThe CODE_OF_CONDUCT.md file exists.
Overview#
Return whether the code-of-conduct file is present. |
Import detail#
from src.ansys.pre_commit_hooks.quality_rules.project_metadata import PM003
Method detail#
- static PM003.check(repository_root: pathlib.Path, readme_file: str | None) ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#
Return whether the code-of-conduct file is present.