Skip to content

Exclude __tests__ directories by default. - #307

Open
soimkim wants to merge 1 commit into
mainfrom
ex_test
Open

Exclude __tests__ directories by default.#307
soimkim wants to merge 1 commit into
mainfrom
ex_test

Conversation

@soimkim

@soimkim soimkim commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Align Jest-style test folders with existing test/tests exclusion in get_excluded_paths.

Summary by CodeRabbit

  • Bug Fixes
    • Updated directory exclusions to automatically skip __tests__ folders, alongside other non-production directories.

Align Jest-style test folders with existing test/tests exclusion in get_excluded_paths.
@soimkim soimkim self-assigned this Aug 26, 2026
@soimkim soimkim added the chore [PR/Issue] Refactoring, maintenance the code label Aug 26, 2026
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a13aacf3-7413-4261-a43a-e9e112d56204

📥 Commits

Reviewing files that changed from the base of the PR and between 1c8e8b2 and 9a10918.

📒 Files selected for processing (1)
  • src/fosslight_util/exclude.py

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The directory exclusion list now includes __tests__, alongside the existing excluded directory names.

Changes

Directory exclusion

Layer / File(s) Summary
Exclude __tests__ directories
src/fosslight_util/exclude.py
EXCLUDE_DIRECTORY now includes __tests__.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 9a109

This localized change excludes tests directories by default, with no actionable merge-blocking risk remaining beyond normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: excluding tests directories by default.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ex_test

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore [PR/Issue] Refactoring, maintenance the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant