Skip to content

[flake8-simplify] add fix safety section (SIM112)#18099

Merged
ntBre merged 1 commit intoastral-sh:mainfrom
VascoSch92:fix-safety-section-ast-exprs
May 14, 2025
Merged

[flake8-simplify] add fix safety section (SIM112)#18099
ntBre merged 1 commit intoastral-sh:mainfrom
VascoSch92:fix-safety-section-ast-exprs

Conversation

@VascoSch92
Copy link
Contributor

@VascoSch92 VascoSch92 commented May 14, 2025

The PR add the fix safety section for rule SIM112 (#15584 ).

@VascoSch92 VascoSch92 mentioned this pull request May 14, 2025
71 tasks
@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre added the documentation Improvements or additions to documentation label May 14, 2025
Copy link
Contributor

@ntBre ntBre left a comment

Choose a reason for hiding this comment

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

Thanks, this makes sense to me! Although I believe this is SIM112, not SIM401. I was quite confused when I looked up SIM401 in the docs!

@ntBre ntBre changed the title [flake8-simplify] add fix safety section (SIM401) [flake8-simplify] add fix safety section (SIM112) May 14, 2025
@ntBre ntBre merged commit 466021d into astral-sh:main May 14, 2025
34 checks passed
Glyphack pushed a commit to Glyphack/ruff that referenced this pull request May 21, 2025
The PR add the `fix safety` section for rule `SIM112` (astral-sh#15584 ).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants