Skip to content

Commit e4a2f4c

Browse files
committed
fix: Just run linting on all the subworkflows
1 parent 044adba commit e4a2f4c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.pre-commit-hooks.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77
files: ^modules/.*/.*/.*\.nf$
88
pass_filenames: true
99
# args: []
10+
# NOTE See https://github.com/nf-core/modules/pull/7084 for reasoning
1011
- id: lint-subworkflows
1112
name: Lint nf-core subworkflows
12-
# description: This hook trims trailing whitespace.
13-
entry: nf-core --hide-progress subworkflows lint
13+
description: Runs linting on all the subworkflows
14+
entry: nf-core --hide-progress subworkflows lint -a
1415
language: python
1516
types: [text]
16-
files: ^subworkflows/.*/.*/.*\.nf$
17-
pass_filenames: true
17+
files: ^subworkflows/[^/]+$
18+
alias: sw
19+
pass_filenames: false
1820
# args: []
1921
- id: lint-pipeline
2022
name: Lint nf-core pipeline

0 commit comments

Comments
 (0)