Skip to content

Commit df23fa0

Browse files
committed
feat: Add lint-pipeline test
1 parent 41b99d1 commit df23fa0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.pre-commit-hooks.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@
1616
files: ^subworkflows/.*/.*/.*\.nf$
1717
pass_filenames: true
1818
# args: []
19-
# TODO lint-pipeline
19+
- id: lint-pipeline
20+
name: Lint nf-core pipeline
21+
description: Check pipeline code against nf-core guidelines.
22+
entry: nf-core --hide-progress lint
23+
language: python
24+
types: [text]
25+
# args: []

nf_core/pipeline-template/.pre-commit-config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,4 @@ repos:
1414
- repo: https://github.com/nf-core/tools
1515
rev: "2.14.1"
1616
hooks:
17-
- id: lint-modules
18-
- id: lint-subworkflows
19-
# TODO lint-pipeline
17+
- id: lint-pipeline

0 commit comments

Comments
 (0)