Skip to content

Commit

Permalink
fix more linting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Feb 14, 2024
1 parent 9c89874 commit 7f7e920
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions nf_core/lint/files_exist.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def files_exist(self) -> Dict[str, Union[List[str], bool]]:
conf/igenomes.config
.github/workflows/awstest.yml
.github/workflows/awsfulltest.yml
lib/WorkflowPIPELINE.groovy
pyproject.toml
Files that *must not* be present, due to being renamed or removed in the template:
Expand All @@ -88,6 +87,11 @@ def files_exist(self) -> Dict[str, Union[List[str], bool]]:
lib/Checks.groovy
lib/Completion.groovy
lib/Workflow.groovy
lib/WorkflowPIPELINE.groovy
lib/NfcoreTemplate.groovy
lib/Utils.groovy
lib/WorkflowMain.groovy
Files that *should not* be present:
Expand Down Expand Up @@ -171,7 +175,6 @@ def files_exist(self) -> Dict[str, Union[List[str], bool]]:
[Path("conf", "igenomes.config")],
[Path(".github", "workflows", "awstest.yml")],
[Path(".github", "workflows", "awsfulltest.yml")],
[Path("lib", f"Workflow{short_name[0].upper()}{short_name[1:]}.groovy")],
[Path("modules.json")],
[Path("pyproject.toml")],
]
Expand Down Expand Up @@ -200,6 +203,7 @@ def files_exist(self) -> Dict[str, Union[List[str], bool]]:
Path("lib", "Utils.groovy"),
Path("lib", "WorkflowMain.groovy"),
Path("lib", "NfcoreTemplate.groovy"),
Path("lib", f"Workflow{short_name[0].upper()}{short_name[1:]}.groovy"),
]
files_fail_ifinconfig: List[Tuple[Path, Dict[str, str]]] = [
(Path("lib", "nfcore_external_java_deps.jar"), {"plugins": "nf-validation"}),
Expand Down

0 comments on commit 7f7e920

Please sign in to comment.