wrknv 2025-12-02
Clean up dead code, simplify config, and refactor test fixtures
46 files · 129+ · 278-

Dead code removal across modules

4 files changed
  • base.py Removed 12 lines of unused code
  • base.py Removed 8 lines of unused code
  • exceptions.py Removed 4 lines of unused code
  • core.py Simplified initialization logic
  • Removed unused imports, dead code, and stale SPDX header markers across 46 files, netting a 149-line reduction decouple internal
    3 files
    • base.py
    • base.py
    • core.py

Test refactoring

3 files changed
  • test_gitignore_commands.py Simplified and reduced gitignore command tests
  • test_lock_commands.py Updated lock command test fixtures
  • test_managers_go.py Simplified manager test fixtures
  • Refactored test fixtures in gitignore, lock, and manager test suites for better clarity and reduced duplication qualify internal
    2 files
    • test_gitignore_commands.py
    • test_lock_commands.py