Skip to content

fix(lint): exclude nox/venv/cache dirs from interrogate scan - #24

Merged
dlstadther merged 1 commit into
mainfrom
fix/interrogate-nox-exclude
Sep 12, 2026
Merged

fix(lint): exclude nox/venv/cache dirs from interrogate scan#24
dlstadther merged 1 commit into
mainfrom
fix/interrogate-nox-exclude

Conversation

@dlstadther

Copy link
Copy Markdown
Owner

Summary

  • make lint-docstrings (interrogate) had no path arg, so it walked the whole repo; its exclude list only covered tests, docs, noxfile.py
  • Locally, .nox venvs (from nox), .venv, and cache dirs contain vendored pip packages with no docstrings — coverage tanked below the 100% gate
  • CI checks out fresh with none of those dirs, so it never surfaced there — purely a local false positive
  • Widened the exclude list to .nox, .venv, dist, build, .mypy_cache, .pytest_cache, .ruff_cache

Test plan

  • uv run interrogate passes locally (100%) with .nox/.venv present
  • make lint passes end to end locally
  • CI green

🤖 Generated with Claude Code

https://claude.ai/code/session_01HpUiyz1W779QxRBzRxXZzc

interrogate had no path arg and only excluded tests/docs/noxfile.py,
so local .nox venvs, .venv, and cache dirs (full of vendored pip
packages with no docstrings) got scanned and tanked coverage below
the 100% gate. CI checks out fresh with none of these dirs so it
never hit this. Widen the exclude list to match local reality.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpUiyz1W779QxRBzRxXZzc
@dlstadther
dlstadther merged commit ff18b38 into main Sep 12, 2026
5 checks passed
@dlstadther
dlstadther deleted the fix/interrogate-nox-exclude branch September 12, 2026 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant