Commit 046453f
committed
fix(dep-graph): use language-aware test filtering
Use lang_parser's language-specific test-file rules for supported source files
during dependency-graph build filtering, while preserving the legacy test-ish
filter for non-source files. This prevents valid non-Python sources such as Go
testdata fixtures or TypeScript test helper modules from being excluded before
parse-time filtering can see them.
Add regression coverage for Go testdata, non-Python helper source files,
language-specific test files, and legacy non-source test-ish exclusions.1 parent 1fd2ee2 commit 046453f
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
242 | 255 | | |
243 | 256 | | |
244 | 257 | | |
| |||
0 commit comments