Skip to content

Conversation

@purcell
Copy link
Contributor

@purcell purcell commented Nov 7, 2025

Motivation

As of #13347, the type annotations in those modules are modern and will not upset ruff.

Changes

Remove per-file ignores for the ASF modules, since they are redundant.

Tests

Running make format, make lint without those ignores present is successful.

Related

Mentioned by @giograno in #13347 (comment).

@purcell purcell added semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Nov 7, 2025
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Test Results - Preflight, Unit

22 309 tests  ±0   20 555 ✅ ±0   15m 57s ⏱️ - 1m 4s
     1 suites ±0    1 754 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit d0fcd74. ± Comparison against base commit 610b60f.

♻️ This comment has been updated with latest results.

@purcell
Copy link
Contributor Author

purcell commented Nov 7, 2025

Aha, this PR will – of course – need to wait until after the weekly regeneration of the ASF modules. Until then, linting will continue to fail because the existing generated modules are not compliant with these stricter rules.

@purcell purcell self-assigned this Nov 7, 2025
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   2h 2m 40s ⏱️ +45s
4 936 tests ±0  4 557 ✅ ±0  379 💤 ±0  0 ❌ ±0 
4 938 runs  ±0  4 557 ✅ ±0  381 💤 ±0  0 ❌ ±0 

Results for commit bc85328. ± Comparison against base commit 66ab28b.

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.

The changes are looking good! As soon as #13359 is merged and this PR is rebased upon the updated main, the linting / preflight step in the CI should get 💚 and we can merge this one! Thanks for the cleanup! 🧹 💯

@alexrashed alexrashed mentioned this pull request Nov 10, 2025
As of #13347, the type annotations in those modules are modern and
will not upset ruff.
@purcell purcell force-pushed the remove-ruff-ignores branch from bc85328 to d0fcd74 Compare November 10, 2025 14:14
@purcell
Copy link
Contributor Author

purcell commented Nov 10, 2025

Rebased.

@github-actions
Copy link

Test Results (amd64) - Acceptance

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

Results for commit d0fcd74. ± Comparison against base commit 610b60f.

@purcell
Copy link
Contributor Author

purcell commented Nov 10, 2025

Merging now, since the lint step passes.

@purcell purcell merged commit 3c19443 into main Nov 10, 2025
33 checks passed
@purcell purcell deleted the remove-ruff-ignores branch November 10, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants