Closed
Description
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.
- Install and configure Ruff #2529
- Enable Ruff rule COM812 and fix the errors #2530
- Enable Ruff rule ERA001 and fix the errors #2531
- Enable Ruff rules PLW, PLR, PLC and PLE and fix the errors #2532
- Enable Ruff rule E501 and fix the errors #2533
- Enable Ruff rules ISC and I001 and fix the errors #2534
- Enable Ruff autofix to automatically fix fixable rules #2535
Which area does this relate to?
Tests, Automation
Solution
No response
Acknowledgment
- This request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped