Skip to content

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

Closed
8 of 9 tasks
leandrodamascena opened this issue Jun 5, 2023 · 4 comments · Fixed by #2599
Closed
8 of 9 tasks

Maintenance: Add Ruff as the linter #2380

leandrodamascena opened this issue Jun 5, 2023 · 4 comments · Fixed by #2599
Assignees
Labels
internal Maintenance changes

Comments

@leandrodamascena
Copy link
Contributor

leandrodamascena commented Jun 5, 2023

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

@leandrodamascena leandrodamascena added triage Pending triage from maintainers internal Maintenance changes labels Jun 5, 2023
@heitorlessa
Copy link
Contributor

heitorlessa commented Jun 5, 2023 via email

@leandrodamascena
Copy link
Contributor Author

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)

This is a good first impression 😄

image

@leandrodamascena leandrodamascena self-assigned this Jun 5, 2023
@leandrodamascena leandrodamascena removed the triage Pending triage from maintainers label Jun 5, 2023
@leandrodamascena leandrodamascena moved this from Triage to Working on it in Powertools for AWS Lambda (Python) Jun 20, 2023
@leandrodamascena leandrodamascena linked a pull request Jun 20, 2023 that will close this issue
7 tasks
@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Jun 27, 2023
@leandrodamascena leandrodamascena linked a pull request Jun 27, 2023 that will close this issue
7 tasks
@github-project-automation github-project-automation bot moved this from Working on it to Coming soon in Powertools for AWS Lambda (Python) Jun 27, 2023
@github-actions
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

@leandrodamascena leandrodamascena moved this from Coming soon to Shipped in Powertools for AWS Lambda (Python) Jun 28, 2023
@github-actions
Copy link
Contributor

This is now released under 2.19.0 version!

@github-actions github-actions bot removed the pending-release Fix or implementation already in dev waiting to be released label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Maintenance changes
Projects
Status: Shipped
Development

Successfully merging a pull request may close this issue.

2 participants