Skip to content

Commit

Permalink
fix: Use a valid python regex
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Aug 23, 2024
1 parent 1821f8d commit 4bed77d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
entry: nf-core modules lint
language: python
types: [text]
files: "modules/**/*.nf"
files: ^modules/.*/.*/.*\.nf$
pass_filenames: true
# args: []
- id: lint-subworkflows
Expand All @@ -13,6 +13,6 @@
entry: nf-core subworkflows lint
language: python
types: [text]
files: "subworkflows/**/*.nf"
files: ^subworkflows/.*/.*/.*\.nf$
pass_filenames: true
# args: []

0 comments on commit 4bed77d

Please sign in to comment.