Skip to content

Commit

Permalink
fix: Just run linting on all the subworkflows
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 25, 2024
1 parent 044adba commit e4a2f4c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@
files: ^modules/.*/.*/.*\.nf$
pass_filenames: true
# args: []
# NOTE See https://github.com/nf-core/modules/pull/7084 for reasoning
- id: lint-subworkflows
name: Lint nf-core subworkflows
# description: This hook trims trailing whitespace.
entry: nf-core --hide-progress subworkflows lint
description: Runs linting on all the subworkflows
entry: nf-core --hide-progress subworkflows lint -a
language: python
types: [text]
files: ^subworkflows/.*/.*/.*\.nf$
pass_filenames: true
files: ^subworkflows/[^/]+$
alias: sw
pass_filenames: false
# args: []
- id: lint-pipeline
name: Lint nf-core pipeline
Expand Down

0 comments on commit e4a2f4c

Please sign in to comment.