ruff/docs
Aarni Koskela d7214e77e6
Add ruff rule --all subcommand (with JSON output) (#5059)
## Summary

This adds a `ruff rule --all` switch that prints out a human-readable
Markdown or a machine-readable JSON document of the lint rules known to
Ruff.

I needed a machine-readable document of the rules [for a
project](https://github.com/astral-sh/ruff/discussions/5078), and
figured it could be useful for other people – or tooling! – to be able
to interrogate Ruff about its arcane knowledge.

The JSON output is an array of the same objects printed by `ruff rule
--format=json`.

## Test Plan

I ran `ruff rule --all --format=json`. I think more might be needed, but
maybe a snapshot test is overkill?
2023-07-04 19:45:38 +00:00
..
assets Update docs to match updated logo and color palette (#5283) 2023-06-22 11:19:34 -04:00
stylesheets Add dark- and light-mode image modifiers for custom MkDocs themes (#5318) 2023-06-22 16:11:38 -04:00
.gitignore Add a preliminary tutorial (#3281) 2023-02-28 20:31:27 +00:00
configuration.md Add ruff rule --all subcommand (with JSON output) (#5059) 2023-07-04 19:45:38 +00:00
editor-integrations.md markdownlint: enforce 100 char max length (#4698) 2023-05-28 22:45:56 -04:00
faq.md Add Jupyter integration to the docs (#5403) 2023-06-28 00:27:24 +00:00
installation.md markdownlint: enforce 100 char max length (#4698) 2023-05-28 22:45:56 -04:00
requirements.txt Check docs formatting check (#4270) 2023-05-08 19:03:22 +00:00
tutorial.md Bump version to 0.0.276 (#5488) 2023-07-03 18:02:49 +00:00
usage.md Bump version to 0.0.276 (#5488) 2023-07-03 18:02:49 +00:00