Skip to content

Commit 2a05aba

Browse files
edmundmillermashehu
andcommitted
feat: Add pre-commit hooks to pipeline template
Co-authored-by: mashehu <[email protected]>
1 parent 413ebd1 commit 2a05aba

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616
files: ^subworkflows/.*/.*/.*\.nf$
1717
pass_filenames: true
1818
# args: []
19+
# TODO lint-pipeline

nf_core/pipeline-template/.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ repos:
1111
hooks:
1212
- id: editorconfig-checker
1313
alias: ec
14+
- repo: https://github.com/nf-core/tools
15+
rev: "2.14.1"
16+
hooks:
17+
- id: lint-modules
18+
- id: lint-subworkflows
19+
# TODO lint-pipeline

0 commit comments

Comments
 (0)