Version 1.0🔗
Warning
This release is API-breaking. The pre-commit hook bibclean-fix no longer accepts
--exit-non-zero-on-fix: remove the args line from your
.pre-commit-config.yaml after pre-commit autoupdate. The hook bibclean
is renamed bibclean-check.
Enhancements🔗
New unified command-line interface
bibcleanwith the sub-commandscheck,fixandsys-info, built withclick.Two pre-commit hooks,
bibclean-checkandbibclean-fix, running on thepre-commit,pre-merge-commit,pre-pushandmanualstages.Fewer runtime dependencies:
numpy,psutilandtomlare no longer required (psutilis optional and only used bybibclean sys-info).
API and behavior changes🔗
The console scripts
bibclean-checkandbibclean-sys_infoare removed; usebibclean checkandbibclean sys-info.bibclean FILEbecomesbibclean fix FILE. The options-o/--output,--overwriteand--exit-non-zero-on-fixare removed; the file is always cleaned in place.The minimum supported Python version is 3.11.
The package is now versioned from git tags (
setuptools_scm) and uses asrclayout.