Commit 3b6423a
committed
Exclude Sphinx test roots to avoid duplicate conf module collisions
These directories are Sphinx fixture projects, not importable package code.
- Both tests/roots/test-altairplot/conf.py and tests/roots/test-altairplot-filearg/conf.py are top-level conf.py files.
- When mypy walks tests, it maps both to the same module name (conf) and raises Duplicate module named "conf".
- These files are test data for Sphinx builds (integration fixtures), so type-checking them adds little value compared to checking sphinxext_altair/ and actual test modules.
So the exclude avoids a structural false-positive from fixture layout, not a real typing bug.1 parent e8711d7 commit 3b6423a
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
300 | 303 | | |
301 | 304 | | |
302 | 305 | | |
0 commit comments