ruff icon indicating copy to clipboard operation
ruff copied to clipboard

Add a JSON schema for `ruff.toml`

Open charliermarsh opened this issue 3 years ago • 4 comments

And submit it to https://github.com/SchemaStore/schemastore. That way, you'll get autocomplete in editors, etc.

charliermarsh avatar Dec 12 '22 17:12 charliermarsh

Should it be auto-generated like in #1015?

JonathanPlasse avatar Dec 12 '22 19:12 JonathanPlasse

Yeah

charliermarsh avatar Dec 12 '22 19:12 charliermarsh

Note though that ruff.toml won't be drop-in identical to pyproject.toml. It'll be like hatch.toml -- so, identical to pyproject.toml, but without [tool.ruff].

charliermarsh avatar Dec 12 '22 21:12 charliermarsh

I've got a draft for this using https://github.com/GREsau/schemars :)

edgarrmondragon avatar Dec 22 '22 05:12 edgarrmondragon