Python dynamic import discovery ignores configured and default exclusions
find_python_dynamic_imports in desloppify/languages/python/detectors/deps_dynamic.py uses path.rglob("*.py") instead of the shared exclusion-aware source finder. Reproduced with desloppify 1.0 and upstream commit 3a7735d on Windows/Python 3.14.
A minimal fixture contains loader.py calling importlib.import_module("included_plugin"), plus another loader under .venv/, a configured .claude/worktrees/nested/, or configured generated/, calling importlib.import_module("excluded_plugin"). Set exclusions to [".claude", "generated"] and invoke find_python_dynamic_imports(package_root, [".py"]).
Expected: only included_plugin. Actual: both targets, in all three cases. During a project scan this makes the coupling/orphan phase traverse virtualenvs and nested worktrees despite the displayed exclusions, substantially slowing scans and allowing excluded import hints to affect orphan detection.
A local fix replaces the recursive glob with find_py_files(path) and resolves returned relative paths against get_project_root() before reading. All 23 dependency-graph tests pass, including three new parameterized exclusion regressions that failed before the change.
I have not opened a PR because the broader upstream core test run on this Windows environment has 35 unrelated failures (5,628 pass, 152 skip), including POSIX path/permission assumptions and runner mocks. The targeted fix has also been exercised during a scan of a real project.