Skip to content

Releases: gazzycodes/knot

knot v0.1.1 — pre-commit & CI integration

Choose a tag to compare

@gazzycodes gazzycodes released this 10 Jun 09:20

This release adds integration points so you can wire knot straight into your workflow.

pre-commit hook support: add knot to your .pre-commit-config.yaml and it runs on every commit. GitHub Actions usage is now documented in the README for CI.

The analysis engine is unchanged from v0.1.0.

Install: pip install knot-imports

knot v0.1.0

Choose a tag to compare

@gazzycodes gazzycodes released this 09 Jun 09:34

First release of knot — detect and visualize circular imports in Python projects.

knot statically analyzes your imports (it never runs your code), builds the internal module dependency graph, and reports every cycle with a concrete example path. It resolves both absolute and relative imports, detects cycles with an iterative Tarjan SCC algorithm, and outputs text, JSON, or a Mermaid diagram — with a CI-friendly non-zero exit code when cycles are found. Zero runtime dependencies; Python 3.8+.

Install: pip install knot-imports