VL017#

class src.ansys.pre_commit_hooks.quality_rules.vale.VL017#

Bases: Vale

The ANSYS accept.txt vocabulary is not empty.

Overview#

check

Check that accept.txt has at least one entry.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.vale import VL017

Method detail#

static VL017.check(repository_root: pathlib.Path, readme_file: str | None) → ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#

Check that accept.txt has at least one entry.