Skip to content

Improv/bump ruff target version#8048

Open
maxrabin wants to merge 2 commits intoaws-powertools:developfrom
maxrabin:improv/bump-ruff-target-version
Open

Improv/bump ruff target version#8048
maxrabin wants to merge 2 commits intoaws-powertools:developfrom
maxrabin:improv/bump-ruff-target-version

Conversation

@maxrabin
Copy link
Contributor

Issue number: closes #8047

Summary

Update Ruff target Python version from 3.8 to 3.10 to align with version targets defined in Poetry.
Then fix/implement all Ruff lint issues.

Changes

Mostly changes around typing (List -> list, Optional[str] -> str | None)

User experience

Code is more modern and standardized

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.

Max Rabin added 2 commits March 18, 2026 14:37
This aligns with the Poetry defined minimum version.
Marking this with ! for Breaking Change anyways as this
will break the code on python versions 3.8 and 3.9 as Ruff
will update all syntax and libraries to 3.10+-only compatibilty
@maxrabin maxrabin requested a review from a team as a code owner March 18, 2026 13:42
@maxrabin maxrabin requested a review from hjgraca March 18, 2026 13:42
@pull-request-size pull-request-size bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Mar 18, 2026
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

event_handlers internal Maintenance changes logger size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: Update ruff target version to 3.10

1 participant