Skip to content

Lint Tools/build using existing ruff configuration #132390

@picnixz

Description

@picnixz

Feature or enhancement

Proposal:

There is an existing Tools/build/.ruff.toml that is for now only used by the check-warnings.py script. I've tried to minimize the number of changes but I ran ruff check Tools/build and selectively disabled some existing errors so that in the future we can selectively fix them.

Note that @hugovk recently ruffed the tools in #124382 but not all of them.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

Labels

buildThe build process and cross-buildinfraCI, GitHub Actions, buildbots, Dependabot, etc.type-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions