Skip to content

Move Ruff config to pyproject.toml#81

Open
hugovk wants to merge 1 commit into
python:mainfrom
hugovk:ruff
Open

Move Ruff config to pyproject.toml#81
hugovk wants to merge 1 commit into
python:mainfrom
hugovk:ruff

Conversation

@hugovk

@hugovk hugovk commented Jul 24, 2026

Copy link
Copy Markdown
Member

It makes it easier to diff other projects when the config is centralised in the usual place.

Also update pre-commit hooks and change maintainers' name from "Python Core Developers" to "Python Core Team".

Comment thread .ruff.toml
@@ -1,16 +0,0 @@
target-version = "py310"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed in pyproject.toml because Ruff will get it from requires-python = ">=3.10".

https://docs.astral.sh/ruff/configuration/#inferring-the-python-version

Comment thread pyproject.toml
[tool.ruff]
fix = true
format.preview = true
format.quote-style = "single"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on dropping this and using the default double?

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.

1 participant