Commit d6bd926
committed
ci: fix regex in pre-commit config file
Problem: The `files` regex in `.pre-commit-config.yaml` has an extra
slash in the pattern to detect python files under `t/`, so no files
in that directory are being formatted.
Update the pattern to find some Python files under `t/`, but not all.
Since we don't necessarily want to lint and format every test
python file in the testsuite, just include `t/scripts/*.py` and
`t/python/*.py`.1 parent f79be96 commit d6bd926
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments