Skip to content

KRunchPL/ruff-config-generator

Repository files navigation

Ruff Default Configuration Generator

Tool that generates ruff configuration with all available options set to their defualt values.

Usage

python -m ruff_config_generator download
python -m ruff_config_generator generate

The first command will download the settings HTML page and the second will analyze it and generate toml file with all available options set to their defualt values. The file will also contain options descriptions as comments.

Output files will be saved in the workdir folder as settings.html and config.toml.

On the repository, the workdir folder contains result of the above commands for latest ruff version I have been using. It also contains config_adjusted.toml which contains latest configuration with values adjusted to my personal projects.

Additional documentation

Development documentation

Changelog

About

Generates ruff default configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published