You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.nox missing from _SKIP_DIRS — nox virtualenvs get fully indexed (91% graph noise in a real repo) #1804
_SKIP_DIRS in graphify/detect.py includes .tox but not .nox. Repos using nox (the tox successor) get their virtualenvs fully indexed, flooding the graph with dependency noise.
Real-world impact
Windows 11, graphifyy 0.9.11, graphify extract on a Python repo containing a .nox/ env:
Graph came out with 7,365 nodes — 6,720 of them (91%) sourced from .nox/ (Jupyter nbextensions, pydeck, and other site-packages content inside the nox venv).
The useful graph was only ~645 nodes, drowned in vendored dependencies.
Semantic extraction also burned LLM tokens reading venv docs.
Checked master (graphify/detect.py, around the _SKIP_DIRS literal): .tox, .venv, node_modules, .next, .terraform are all there — .nox is not. Since nox is the direct successor of tox and creates .nox/ by convention (same shape of directory tree), this looks like an oversight rather than a decision.
Suggested fix
One line in _SKIP_DIRS:
".tox", ".nox", ".eggs", "*.egg-info",
Workaround (for anyone hitting this)
.graphifyignore at the repo root with:
.nox/
then rebuild (GRAPHIFY_FORCE=1 graphify update . or delete graphify-out/ and re-extract). In my case this took the graph from 7,365 inflated nodes to 628 real ones.
Fixed in 90b545c (ships in 0.9.14). Added .nox to _SKIP_DIRS right next to .tox, with a regression test asserting a .nox/ tree is excluded while real source is kept. Thanks for the clear diagnosis and the 91%-noise real-world numbers, @igorregoir-lgtm — that made it an easy call.
Activity
safishamsi commentedon Jul 12, 2026
Fixed in
90b545c(ships in 0.9.14). Added.noxto_SKIP_DIRSright next to.tox, with a regression test asserting a.nox/tree is excluded while real source is kept. Thanks for the clear diagnosis and the 91%-noise real-world numbers, @igorregoir-lgtm — that made it an easy call.fix(cli): survive early pipe close (#1807); skip .nox venvs (#1804)
fix(cli): survive early pipe close (Graphify-Labs#1807); skip .nox ve…