Skip to content

KRunchPL/ruff-config-generator

Repository files navigation

Ruff Configuration Generator

Tool that generates ruff configuration with all available options.

Usage

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.

Additional documentation

Development documentation

Changelog

About

Generates ruff default configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published