Skip to content

Conversation

giograno
Copy link
Member

@giograno giograno commented Aug 22, 2025

Motivation

#12953 introduced the pyupgrade rules to our ruff linter.
However, a few rules have been ignored. This PR enabled UP031 and fixes the code accordingly.

@giograno giograno added this to the Playground milestone Aug 22, 2025
@giograno giograno self-assigned this Aug 22, 2025
@giograno giograno added semver: patch Non-breaking changes which can be included in patch releases skip-docs Pull request does not require documentation changes labels Aug 22, 2025
Copy link

github-actions bot commented Aug 22, 2025

S3 Image Test Results (AMD64 / ARM64)

    2 files    2 suites   8m 3s ⏱️
  517 tests 467 ✅  50 💤 0 ❌
1 034 runs  934 ✅ 100 💤 0 ❌

Results for commit bd80e49.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 22, 2025

Test Results - Preflight, Unit

22 159 tests  ±0   20 422 ✅ ±0   6m 26s ⏱️ +4s
     1 suites ±0    1 737 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit bd80e49. ± Comparison against base commit 5c5ba2a.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 22, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 7s ⏱️ -2s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit bd80e49. ± Comparison against base commit 5c5ba2a.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 22, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 21m 49s ⏱️
5 003 tests 4 402 ✅ 601 💤 0 ❌
5 009 runs  4 402 ✅ 607 💤 0 ❌

Results for commit bd80e49.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 22, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 43m 6s ⏱️ -37s
4 632 tests ±0  4 189 ✅ ±0  443 💤 ±0  0 ❌ ±0 
4 634 runs  ±0  4 189 ✅ ±0  445 💤 ±0  0 ❌ ±0 

Results for commit bd80e49. ± Comparison against base commit 5c5ba2a.

♻️ This comment has been updated with latest results.

Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Awesome! You can really see that with every rule exclusion being removed, the codebase gets cleaner and more modern! 💯
I didn't check the automatic changes (done by a safe ruff linting rule fixer), but the manual ones are looking good! 🦸🏽 :shipit:

@giograno giograno merged commit de861e1 into main Aug 27, 2025
47 checks passed
@giograno giograno deleted the fix-up031 branch August 27, 2025 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases skip-docs Pull request does not require documentation changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants