-
Notifications
You must be signed in to change notification settings - Fork 421
Maintenance: Add Ruff as the linter #2380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
YES! Make sure to take note of the speed improvement in CI too (this should
decrease our installation step + linting, and `make pr` both locally and in
CI)
…On Mon, 5 Jun 2023 at 19:53, Leandro Damascena ***@***.***> wrote:
Why is this needed?
Ruff is an extremely fast Python linter and code transformation tool,
written in Rust.
Ruff can be used to replace Flake8 <https://pypi.org/project/flake8/>
(plus dozens of plugins), isort <https://pypi.org/project/isort/>,
pydocstyle <https://pypi.org/project/pydocstyle/>, yesqa
<https://github.com/asottile/yesqa>, eradicate
<https://pypi.org/project/eradicate/>, pyupgrade
<https://pypi.org/project/pyupgrade/>, and autoflake
<https://pypi.org/project/autoflake/>, all while executing tens or
hundreds of times faster than any individual tool.
https://beta.ruff.rs/docs/
Which area does this relate to?
Tests, Automation
Solution
*No response*
Acknowledgment
- This request meets Powertools for AWS Lambda (Python) Tenets
<https://awslabs.github.io/aws-lambda-powertools-python/latest/#tenets>
- Should this be considered in other Powertools for AWS Lambda
languages? i.e. Java
<https://github.com/awslabs/aws-lambda-powertools-java/>, TypeScript
<https://github.com/awslabs/aws-lambda-powertools-typescript/>, and
.NET <https://github.com/awslabs/aws-lambda-powertools-dotnet/>
—
Reply to this email directly, view it on GitHub
<#2380>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPQBBRIR4VDSTEU42JM6TXJYMKXANCNFSM6AAAAAAY3JVVHI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
This is a good first impression 😄 |
|
This is now released under 2.19.0 version! |
Why is this needed?
Ruff is an extremely fast Python linter and code transformation tool, written in Rust.
Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.
https://beta.ruff.rs/docs/
Which area does this relate to?
Tests, Automation
Solution
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: