Skip to content

Comments

[pylint] add fix safety section (PLC2801)#17825

Merged
ntBre merged 3 commits intoastral-sh:mainfrom
yunchipang:docs/fix-safety-unnecessary-dunder-call
May 7, 2025
Merged

[pylint] add fix safety section (PLC2801)#17825
ntBre merged 3 commits intoastral-sh:mainfrom
yunchipang:docs/fix-safety-unnecessary-dunder-call

Conversation

@yunchipang
Copy link
Contributor

parent: #15584
fix was introduced at: #9587
reasoning: #9572

@yunchipang yunchipang mentioned this pull request May 4, 2025
71 tasks
@AlexWaygood AlexWaygood added the documentation Improvements or additions to documentation label May 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@yunchipang
Copy link
Contributor Author

@ntBre @dscorbett thanks again for the reviews and context. I've tried my best to consolidate the cases and put together an updated explanation. Could you kindly take a look and let me know your thoughts?

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! I think this looks pretty good, with the exception of the first point and a small tweak to point (3).

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!

@ntBre ntBre merged commit ce0800f into astral-sh:main May 7, 2025
34 checks passed
dcreager added a commit that referenced this pull request May 7, 2025
…lass

* origin/main:
  [`pylint`] add fix safety section (`PLC2801`) (#17825)
  Add instructions on how to upgrade to a newer Rust version (#17928)
  [parser] Flag single unparenthesized generator expr with trailing comma in arguments. (#17893)
  [ty] Ensure that `T` is disjoint from `~T` even when `T` is a TypeVar (#17922)
  [ty] Sort collected diagnostics before snapshotting them in mdtest (#17926)
  [ty] Add basic file watching to server (#17912)
  Make completions an opt-in LSP feature (#17921)
  Add link to `ty` issue tracker (#17924)
  [ty] Add support for `__all__` (#17856)
  [ty] fix assigning a typevar to a union with itself (#17910)
  [ty] Improve UX for `[duplicate-base]` diagnostics (#17914)
  Clean up some Ruff references in the ty server (#17920)
@yunchipang yunchipang deleted the docs/fix-safety-unnecessary-dunder-call branch May 7, 2025 22:05
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.

4 participants