Skip to content

🔧 Update Ruff config to current lint schema#160

Merged
paduszyk merged 1 commit into
mainfrom
copilot/update-ruffs-config
Jul 22, 2026
Merged

🔧 Update Ruff config to current lint schema#160
paduszyk merged 1 commit into
mainfrom
copilot/update-ruffs-config

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Ruff was warning on deprecated top-level lint settings in pyproject.toml, and the config still ignored PT004, a rule Ruff has removed. This updates the config to Ruff’s current schema and drops the dead ignore.

  • Config migration

    • Move select and ignore under [tool.ruff.lint]
    • Move pydocstyle settings under [tool.ruff.lint.pydocstyle]
    • Move isort settings under [tool.ruff.lint.isort]
  • Rule cleanup

    • Remove PT004 from the ignore list since it no longer exists and has no effect
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N", "D", "B", "A", "C4", "T20", "PT", "Q", "PTH"]
ignore = ["E501", "N818", "D1", "D205", "PT016"]

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.lint.isort]
known-first-party = ["gitmojis"]

@paduszyk paduszyk changed the title Update Ruff config to current lint schema 🔧 Update Ruff config to current lint schema Jul 22, 2026
@paduszyk
paduszyk marked this pull request as ready for review July 22, 2026 22:20
@paduszyk
paduszyk self-requested a review as a code owner July 22, 2026 22:20
@paduszyk
paduszyk merged commit f80b8c2 into main Jul 22, 2026
5 checks passed
@paduszyk
paduszyk deleted the copilot/update-ruffs-config branch July 22, 2026 22:25
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