Skip to content

CLEAN-01: remove pre-existing unused imports flagged by flake8 F401 #80

@longieirl

Description

@longieirl

Problem

Running flake8 across packages/parser-core/ and packages/parser-free/ reports numerous pre-existing F401 (unused import) warnings across test files. These were not introduced by any recent PR but have accumulated over time.

Files affected

  • tests/patterns/test_credit_card_duplicate_strategy.pypytest
  • tests/services/test_duplicate_detector.pypytest
  • tests/services/test_service_registry.pypytest
  • tests/services/test_sorting_service.pypytest
  • tests/services/test_transaction_type_classifier.pyTemplateProcessingConfig
  • tests/test_processor.pyjson, MagicMock, Mock, pytest
  • tests/test_processor_refactored_methods.pyMagicMock, call, mock_open
  • tests/adapters/test_pdfplumber_adapter.py, tests/analysis/, tests/config/, tests/extraction/, tests/domain/, tests/test_*.py — various

Fix

Remove all unused imports from the affected test files and ensure flake8 passes cleanly on both packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions