ruff/docs
Chris Hipple cb99815c3e
Feature: Add SARIF output support (#9078)
## Summary

Adds support for sarif v2.1.0 output to cli, usable via the
output-format paramter.

`ruff . --output-format=sarif` 

Includes a few changes I wasn't sure of, namely:
* Adds a few derives for Clone & Copy, which I think could be removed
with a little extra work as well.

## Test Plan

I built and ran this against several large open source projects and
verified that the output sarif was valid, using [Microsoft's SARIF
validator tool](https://sarifweb.azurewebsites.net/Validation)

I've also attached an output of the sarif generated by this version of
ruff on the main branch of django at commit: b287af5dc9

[django_main_b287af5dc9_sarif.json](https://github.com/astral-sh/ruff/files/13626222/django_main_b287af5dc9_sarif.json)

Note: this needs to be regenerated with the latest changes and
confirmed.


## Open Points
[ ] Convert to just using all Rules all the time
[ ] Fix the issue with getting the file URI when compiling for web
assembly
2023-12-13 00:33:19 -05:00
..
.overrides/partials/integrations/analytics Move some MkDocs responsibilities around (#5542) 2023-07-05 22:06:01 +00:00
assets Update docs to match updated logo and color palette (#5283) 2023-06-22 11:19:34 -04:00
formatter Document context manager breaking deviation vs. Black (#8597) 2023-11-10 04:32:29 +00:00
stylesheets Improve detail link contrast in dark mode (#8548) 2023-11-07 21:41:34 +00:00
.gitignore Fix gitignore to not ignore files that are required (#7538) 2023-09-21 21:33:09 +02:00
configuration.md Feature: Add SARIF output support (#9078) 2023-12-13 00:33:19 -05:00
faq.md Document conventions in the FAQ (#8638) 2023-11-12 22:56:39 +00:00
formatter.md Add beta note to the formatter docs (#9097) 2023-12-11 15:50:01 -05:00
installation.md Add openSUSE Tumbleweed into install doc (#8996) 2023-12-06 17:07:59 +00:00
integrations.md Bump version to v0.1.7 (#8999) 2023-12-04 16:28:23 -05:00
linter.md Hide unsafe fix suggestions when explicitly disabled (#9095) 2023-12-11 15:42:53 -06:00
preview.md Fix docs typo for `ruff format` preview configuration (#8611) 2023-11-11 03:07:32 +00:00
requirements-insiders.txt Redirect from rule codes to rule pages in docs (#8636) 2023-11-12 17:47:10 -05:00
requirements.txt Redirect from rule codes to rule pages in docs (#8636) 2023-11-12 17:47:10 -05:00
tutorial.md Apply consistent code block labels (#8563) 2023-11-09 01:49:24 +00:00
versioning.md Add note about scope of rule changing in versioning policy (#8169) 2023-10-24 11:38:31 -05:00