Skip to content

Move Ruff configuration from pyproject.toml to ruff.toml#1592

Merged
nathanjmcdougall merged 2 commits into
mainfrom
copilot/move-to-ruff-toml-for-dev
Mar 27, 2026
Merged

Move Ruff configuration from pyproject.toml to ruff.toml#1592
nathanjmcdougall merged 2 commits into
mainfrom
copilot/move-to-ruff-toml-for-dev

Conversation

Copilot AI commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Extract [tool.ruff] section from pyproject.toml into a standalone ruff.toml to reduce clutter. The sdist exclude for ruff.toml was already in place.

  • Moved all Ruff config (lint rules, per-file-ignores, plugin settings, format options) to ruff.toml using the standalone format (drops tool.ruff prefix)
  • Removed the [tool.ruff] block from pyproject.toml

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/78a80ff3-cb8b-42a8-9822-2ab92bf43ade

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Move configuration to ruff.toml for development Move Ruff configuration from pyproject.toml to ruff.toml Mar 27, 2026
Copilot AI requested a review from nathanjmcdougall March 27, 2026 10:03
@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review March 27, 2026 10:11
@codecov

codecov Bot commented Mar 27, 2026

Copy link
Copy Markdown

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

codspeed-hq Bot commented Mar 27, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing copilot/move-to-ruff-toml-for-dev (37e52b1) with main (0d5939f)

Open in CodSpeed

@nathanjmcdougall nathanjmcdougall merged commit c48db09 into main Mar 27, 2026
20 checks passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/move-to-ruff-toml-for-dev branch March 27, 2026 10:25
@nathanjmcdougall nathanjmcdougall linked an issue Mar 30, 2026 that may be closed by this pull request
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.

Move to ruff.toml for dev

2 participants