We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36168f1 commit f310ebeCopy full SHA for f310ebe
tests/run.rs
@@ -86,14 +86,14 @@ fn run_glob_patterns_with_multiple_hooks() -> Result<()> {
86
hooks:
87
- id: echo-py
88
name: echo-py
89
- entry: bash -c 'echo PY:$@' _
+ entry: python3 -c "import sys; print('PY:' + ' '.join(sys.argv[2:]))" _
90
language: system
91
files:
92
glob: src/**/*.py
93
verbose: true
94
- id: echo-md
95
name: echo-md
96
- entry: bash -c 'echo MD:$@' _
+ entry: python3 -c "import sys; print('MD:' + ' '.join(sys.argv[2:]))" _
97
98
99
glob: "**/*.md"
0 commit comments