Commit 793d99d
authored
[py] Fix pytest_ignore_collect hook to respect --ignore (#15787)
Fix the `pytest_ignore_collect` hook to respect `--ignore` specified
by the user. Returning `False` stops pytest from consulting additional
hooks, including its default hooks that are necessary to process
`--ignore` option. By returning `True` or `None`, the hook combines
files ignored by default with ignores specified by the user.1 parent 989d249 commit 793d99d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
0 commit comments