vcstool icon indicating copy to clipboard operation
vcstool copied to clipboard

vcs export --exact-with-tags output fails pre-commit linting rules

Open jwdinius opened this issue 1 year ago • 0 comments

When I run vcs export --exact-with-tags src > repos.pegged the resulting file repos.pegged correctly replaces the version field for all of my repositories with the commit hash (or tag descriptor, if applicable) of my source dependencies.

However, my repository uses pre-commit hooks for change validation and the resulting file is missing the leading --- that the yaml linter expects.

I think that the fix is simple here and I will put up a PR.

jwdinius avatar May 17 '24 16:05 jwdinius