mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Commit suggestions from code review
This commit is contained in:
parent
6a1cbce0f5
commit
25c742dc69
1 changed files with 2 additions and 2 deletions
|
@ -56,5 +56,5 @@ def test_ensure_valid_version_yml(workflow_dir):
|
|||
assert len(software_versions), "There must be at least one version emitted."
|
||||
for tool, version in software_versions.items():
|
||||
assert re.match(
|
||||
r"(^\d+.*|^[a-f0-9]{40}$)", str(version)
|
||||
), f"Version number for {tool} must start with a number. "
|
||||
r"^\d.*|^[a-f0-9]{40}$", str(version)
|
||||
), f"Version number for {tool} must start with a number, or be a Git SHA. "
|
||||
|
|
Loading…
Reference in a new issue