Skip to content

move ruff cache into .config folder#184

Merged
ejfine merged 2 commits into
mainfrom
move-ruff-cache
Jul 17, 2026
Merged

move ruff cache into .config folder#184
ejfine merged 2 commits into
mainfrom
move-ruff-cache

Conversation

@ejfine

@ejfine ejfine commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

get more things out of repo root

it was gitignored, but in development, you still could see that folder at repo root (if IDE settings not automatically set to exclude it)

tested in this repo only
image

Summary by CodeRabbit

  • Chores
    • Updated linting configuration to store its cache in a consistent project-local location.
    • No user-facing functionality was changed.

@ejfine ejfine changed the title move ruff cache move ruff cache into .config folder Jul 17, 2026
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@ejfine, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 45 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: fe8f155e-bb38-47b4-b610-42fa0e75f924

📥 Commits

Reviewing files that changed from the base of the PR and between 0b63e35 and 6b401ea.

📒 Files selected for processing (1)
  • .config/pyrefly.toml
📝 Walkthrough

Walkthrough

Ruff’s cache directory is explicitly configured as .config/.ruff_cache, resolved relative to the repository root when pre-commit runs.

Changes

Ruff cache configuration

Layer / File(s) Summary
Configure Ruff cache location
.config/ruff.toml
Adds cache-dir = ".config/.ruff_cache" with a comment describing repository-root resolution under pre-commit.

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

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing the required template sections and only provides brief notes. Add the required headings for issue link, why, how, side effects, testing, and other, and expand each section.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Title check ✅ Passed The title clearly and concisely summarizes the main change: relocating the Ruff cache under .config.

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.

@ejfine
ejfine marked this pull request as ready for review July 17, 2026 21:37
@ejfine
ejfine requested a review from idonaldson July 17, 2026 21:37
zendern
zendern previously approved these changes Jul 17, 2026
@ejfine
ejfine merged commit c76ce43 into main Jul 17, 2026
7 checks passed
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