Commit ea09657
committed
[MINOR][INFRA] Ignore AGENTS.md and CONTRIBUTING.md in determine_modules_for_files
### What changes were proposed in this pull request?
This PR extends `determine_modules_for_files` in `dev/sparktestsupport/utils.py` to
ignore `AGENTS.md` and `CONTRIBUTING.md` in addition to the existing `README.md`.
### Why are the changes needed?
A documentation-only PR that touches only `AGENTS.md` (e.g.
#55707) currently triggers all CI test jobs because
the file is not associated with any submodule, so it falls through to the `root`
module. Neither file affects code or tests, and neither is consumed by the docs build,
so they should be ignored just like `README.md`.
### Does this PR introduce _any_ user-facing change?
No, this is only a testing infra change.
### How was this patch tested?
Updated and ran the doctests in `dev/sparktestsupport/utils.py`.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.71 parent c26a127 commit ea09657
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | | - | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments