driftcheck¶
Detect version drift between docs and toolchain files.
README.md says Rust 1.93.0 but rust-toolchain.toml pins 1.96.1? CONTRIBUTING.md says Node 18 but package.json engines says 24? go.mod says 1.23 but docs say 1.21? driftcheck catches it before your contributors hit a build failure.
Quick Start¶
pip install driftcheck-py
driftcheck # scan current repo
driftcheck --fix # auto-fix drifts in documentation files
Features¶
- 65 detector modules covering 50+ toolchains
- 69 registered detectors including CI/CD, infrastructure, and config drift
- 1617 tests, with a CI-enforced coverage floor of 89% (measured total: 89.56%)
- SARIF 2.1.0 output for GitHub Code Scanning
- Auto-fix mode (
--fix) to patch documentation drifts - Plugin system for custom detectors
- Pre-commit hook support
Install¶
The distribution on PyPI is driftcheck-py; the bare name driftcheck is taken
by an unrelated package. From source:
License¶
MIT