mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-25 05:21:31 +00:00
python3-ruff: Add recipe
Ruff is an extremely fast Python linter and code formatter, written in Rust. Add a recipe for release 0.16.0: - Ruff now enables a much larger set of rules by default (413, up from 59). See the blog post for more details and the new Default Rules page for a full listing of the enabled rules. - Ruff can now format Python code blocks in Markdown files and will do this by default. See the documentation for more details. - Ruff now supports ruff: ignore comments at the ends of lines, like noqa comments, or on the line preceding a diagnostic. For example, these both suppress an unused-import (F401) diagnostic. - Fixes are now shown in check and format --check output. - format --check now supports the same output formats as the linter, including the github and gitlab outputs for rendering annotations in CI - The filename, location, end_location, fix.edits[].location, and fix.edits[].end_location fields in the JSON output format may now be null rather than defaulting to the empty string and row 1, column 1, respectively. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in: