Skip to content

workflows: python_lint: Add support for linting with ruff - #6

Merged
nathanchance merged 1 commit into
ClangBuiltLinux:mainfrom
nathanchance:ruff
Feb 19, 2023
Merged

workflows: python_lint: Add support for linting with ruff#6
nathanchance merged 1 commit into
ClangBuiltLinux:mainfrom
nathanchance:ruff

Conversation

@nathanchance

Copy link
Copy Markdown
Member

ruff is a fast Python linter written in Rust. Add support for linting with ruff if a ruff.toml file is found within a repository. This allows projects to have a set of warnings per project.

ruff can basically replace flake8 with a proper configuration, so do not bother running flake8 if ruff is run.

ruff is a fast Python linter written in Rust. Add support for linting
with ruff if a ruff.toml file is found within a repository. This allows
projects to have a set of warnings per project.

ruff can basically replace flake8 with a proper configuration, so do not
bother running flake8 if ruff is run.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@nathanchance
nathanchance merged commit 539b82c into ClangBuiltLinux:main Feb 19, 2023
@nathanchance
nathanchance deleted the ruff branch February 19, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants