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 e41f8c2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
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/.*$
pass_filenames: false
# args: []
- id: lint-pipeline
name: Lint nf-core pipeline
Expand Down

0 comments on commit e41f8c2

Please sign in to comment.