Skip to content

Move ruff format into its own prek priority group#1698

Merged
nathanjmcdougall merged 2 commits intomainfrom
copilot/move-ruff-format-priority-group
Apr 1, 2026
Merged

Move ruff format into its own prek priority group#1698
nathanjmcdougall merged 2 commits intomainfrom
copilot/move-ruff-format-priority-group

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

ruff format should run after all other priority-0 formatters/fixers complete so it has final say on Python formatting, but before the heavy sequential checks.

  • ruff-format: priority 0 → 1 (own group)
  • deptry, import-linter, ty: priority 1 → 2 (bumped to make room)

Resulting priority groups:

Priority Hooks
0 All formatters, linters, validators, local checks (concurrent)
1 ruff-format only
2 deptry, import-linter, ty (heavy checks)

…checks to priority 2

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/991bea55-d521-4d0e-a6f5-b59638f88378

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Put ruff format into its own prek priority group Move ruff format into its own prek priority group Apr 1, 2026
Copilot AI requested a review from nathanjmcdougall April 1, 2026 09:39
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 1, 2026

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing copilot/move-ruff-format-priority-group (523e646) with main (7c3ef37)

Open in CodSpeed

@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review April 1, 2026 09:47
@nathanjmcdougall nathanjmcdougall merged commit 1c60f86 into main Apr 1, 2026
20 checks passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/move-ruff-format-priority-group branch April 1, 2026 09:48
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.

Put ruff format into its own prek priority group

2 participants