diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d06777a..7fe13ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,3 +25,22 @@ repos: subworkflows/nf-core/.*| .*\.snap$ )$ + - repo: local + hooks: + - id: ban-moduledir-templates-shell-call + name: Ban "python3 ${moduleDir}/templates/" shell-call invocation + description: | + The pattern `python3 ${moduleDir}/templates/