Skip to content

Conversation

@adrien-berchet
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Sep 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c0e7a83) to head (77264db).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #90   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8        12    +4     
  Lines          857       897   +40     
  Branches       146       146           
=========================================
+ Hits           857       897   +40     
Flag Coverage Δ
pytest 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
dir_content_diff/__init__.py 100.00% <100.00%> (ø)
dir_content_diff/base_comparators.py 100.00% <100.00%> (ø)
dir_content_diff/cli/__init__.py 100.00% <100.00%> (ø)
dir_content_diff/config.py 100.00% <100.00%> (ø)
dir_content_diff/core.py 100.00% <100.00%> (ø)
dir_content_diff/parallel_utils.py 100.00% <100.00%> (ø)
dir_content_diff/pytest_plugin.py 100.00% <100.00%> (ø)
dir_content_diff/registry.py 100.00% <100.00%> (ø)
dir_content_diff/util.py 100.00% <ø> (ø)

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the codebase to reorganize functionality into separate modules for better maintainability and modularity. The main goal is to split the previously monolithic __init__.py file into focused modules.

  • Split the core functionality from __init__.py into specialized modules (core.py, config.py, registry.py, parallel_utils.py)
  • Fixed minor text inconsistencies in error messages and documentation
  • Updated import statements throughout the codebase to use the new module structure

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
dir_content_diff/init.py Simplified to import and re-export functions from new modules
dir_content_diff/core.py New module containing main comparison functions
dir_content_diff/config.py New module with ComparisonConfig class
dir_content_diff/registry.py New module for comparator registry management
dir_content_diff/parallel_utils.py New module for parallel execution utilities
dir_content_diff/base_comparators.py Updated error message for consistency
tests/test_*.py Updated imports to use new module structure
dir_content_diff/util.py Fixed grammar in error message
README.md Fixed grammar issue

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@adrien-berchet adrien-berchet merged commit 1725f45 into main Sep 13, 2025
9 checks passed
@adrien-berchet adrien-berchet deleted the reorganize branch September 13, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants