Skip to content

Commit e41f8c2

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.pre-commit-hooks.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
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+
pass_filenames: false
1819
# args: []
1920
- id: lint-pipeline
2021
name: Lint nf-core pipeline

0 commit comments

Comments
 (0)