Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add exclude option to config to omit modules by name or regex #12

Merged
merged 5 commits into from
Mar 4, 2025

Conversation

tlambert03
Copy link
Owner

@tlambert03 tlambert03 commented Mar 4, 2025

  • exclude (list[str]) - List of module paths or patterns to exclude.
    Can be specified as exact module paths (e.g., 'package.module', 'package.subpackage')
    which will also exclude any submodules, or as regex patterns prefixed with 're:'
    (e.g., 're:package\.utils\..*'). Regex patterns are matched against the full
    module path.

also closes #11

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d61e327) to head (25a0c7e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          125       142   +17     
=========================================
+ Hits           125       142   +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tlambert03 tlambert03 requested a review from Copilot March 4, 2025 16:25
@tlambert03 tlambert03 changed the title feat: add exclude pattern to omit modules by name or regex feat: add exclude option to config to omit modules by name or regex Mar 4, 2025
@tlambert03 tlambert03 added the enhancement New feature or request label Mar 4, 2025
@tlambert03 tlambert03 merged commit 5537b26 into main Mar 4, 2025
14 checks passed
@tlambert03 tlambert03 deleted the exclude branch March 4, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deprecation warning in mkdocs
1 participant