Fixes
-
Fix incorrect evaluation. 3578c87
The check for valid files to add should be
filename
, notself.files
-
Refactor and improve test structure for file modifications. 8b52174
Consolidated and restructured tests for
modify_files
into classes for better organization and clarity. Fixed an issue where empty file configurations were not properly ignored and enhanced filtering logic in configuration handling.Fixes #312
Other
-
Replace
list[str]
withList[str]
for Python 3.8+ compatibility. 6fb977cUpdated all instances of
list[str]
with the genericList[str]
from thetyping
module to maintain compatibility with older Python versions (3.8 and earlier). This ensures consistent type annotations across the codebase.Fixes #313
-
[pre-commit.ci] pre-commit autoupdate. a057743
updates: - github.com/astral-sh/ruff-pre-commit: v0.9.7 → v0.9.9