SEC006#
- class src.ansys.pre_commit_hooks.quality_rules.security.SEC006#
Bases:
SecurityA dependency lockfile exists.
Overview#
Report an error when neither uv.lock nor poetry.lock exists at the root. |
Import detail#
from src.ansys.pre_commit_hooks.quality_rules.security import SEC006
Method detail#
- static SEC006.check(repository_root: pathlib.Path, readme_file: str | None) ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#
Report an error when neither uv.lock nor poetry.lock exists at the root.