VL018#

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

Bases: Vale

The ANSYS accept.txt vocabulary has no duplicate or blank lines.

Overview#

check

Check accept.txt for duplicate and blank lines.

Import detail#

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

Method detail#

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

Check accept.txt for duplicate and blank lines.