Tool that generates ruff
configuration with all available options.
python -m ruff_config_generator
The command will download the settings HTML page, analyze it, and generate two toml
files. Both toml
files will contain all available ruff
options along with their descriptions. The difference between the two files is that one will have all settings set to their default values, while the other will have values adjusted to my personal preferences.
Output files will be saved in the workdir
folder as settings.html
, config.toml
(default values) and config_adjusted.toml
.
On the repository, the workdir
folder contains result of the above command for latest ruff version I have been using.