Skip to content

refactor(typing): enable TCH, UP and FA100 ruff rules #5017

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

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

ericbn
Copy link
Contributor

@ericbn ericbn commented Aug 19, 2024

Issue number: #5016

Summary

Changes

Enable TCH, UP and FA100 rules in the Ruff linter.

User experience

Discussed in #4607

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@ericbn ericbn requested a review from a team August 19, 2024 11:41
@boring-cyborg boring-cyborg bot added commons documentation Improvements or additions to documentation event_handlers logger metrics tests typing Static typing definition related issues (mypy, pyright, etc.) labels Aug 19, 2024
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 19, 2024
@leandrodamascena leandrodamascena linked an issue Aug 19, 2024 that may be closed by this pull request
2 tasks
@github-actions github-actions bot added enhancement and removed documentation Improvements or additions to documentation labels Aug 19, 2024
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Aug 19, 2024
Copy link

@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Aug 19, 2024
Copy link
Contributor

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ericbn! Just a few comments that you probably won't need to do anything about.
I'm just waiting for the CI to turn green to approve this PR!

@leandrodamascena leandrodamascena self-requested a review August 19, 2024 12:13
Copy link
Contributor

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVED!

@leandrodamascena leandrodamascena merged commit 85d5253 into aws-powertools:v3 Aug 19, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commons enhancement event_handlers logger metrics size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tests typing Static typing definition related issues (mypy, pyright, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Technical Debt: Enable TCH, UP and FA100 rules in the Ruff linter
2 participants