v0.25.3
Bug Fixes
-
LICENSE no longer updated on every run (#224)
anyFileUpdatedwas unconditionally set totruein non-plan mode due
to a buggy condition, causing the LICENSE file's copyright year to
be bumped on every successful run — even when all source file headers were
already correct. This triggered spurious pre-commit hook failures with
"files were modified by this hook" when nothing should have changed.
addlicense.Runnow correctly reports whether it actually wrote any files,
and the LICENSE update is gated on that signal. -
Ignored directories are now skipped in a single step (#225)
Patterns inheader_ignore(e.g..venv/**,vendor/**) were previously
only checked against files — the walk still descended into every directory
unconditionally, visiting each file before discarding it. For directories
with thousands of files this caused significant slowdowns. The walk now
checks each directory against ignore patterns and returnsfilepath.SkipDir
immediately, pruning the entire subtree regardless of how many files are
inside.