ruff
[ty] Use `typing.Self` for the first parameter of instance methods
#20517
Merged

[ty] Use `typing.Self` for the first parameter of instance methods #20517

sharkdp merged 22 commits into main from david/implicit-self-signature
sharkdp
sharkdp sharkdp added ty
github-actions
codspeed-hq
codspeed-hq
github-actions
github-actions
Glyphack
Glyphack commented on 2025-09-22
sharkdp sharkdp added ecosystem-analyzer
github-actions
sharkdp sharkdp force pushed from 92e01d5e to 433ec040 111 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp
sharkdp commented on 2025-09-23
sharkdp
sharkdp commented on 2025-09-23
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp sharkdp force pushed from 771fef06 to e54903fb 110 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp sharkdp force pushed from 1254b5fa to b494fefa 110 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp sharkdp force pushed from b494fefa to 1b447682 110 days ago
sharkdp
sharkdp commented on 2025-09-24
sharkdp
sharkdp commented on 2025-09-24
sharkdp
sharkdp commented on 2025-09-24
sharkdp
sharkdp commented on 2025-09-24
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp sharkdp force pushed from 171c5999 to e0557c4e 109 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp sharkdp force pushed from 767496b8 to ff19b152 109 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp sharkdp force pushed from ff19b152 to 1a94f303 105 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
sharkdp
sharkdp commented on 2025-09-29
sharkdp sharkdp force pushed from 1a94f303 to 0fc7ddb5 105 days ago
sharkdp sharkdp marked this pull request as ready for review 105 days ago
sharkdp sharkdp requested a review from carljm carljm 105 days ago
sharkdp sharkdp requested a review from AlexWaygood AlexWaygood 105 days ago
sharkdp sharkdp requested a review from dcreager dcreager 105 days ago
sharkdp sharkdp requested a review from MichaReiser MichaReiser 105 days ago
sharkdp sharkdp removed ecosystem-analyzer
sharkdp sharkdp added ecosystem-analyzer
AlexWaygood
AlexWaygood approved these changes on 2025-09-29
AlexWaygood
sharkdp Integration branch for implicit type of self (signature)
69c79556
Glyphack [ty] Assume type of self is `typing.Self` in method calls (#18007)
3036a857
sharkdp Mark implicit `Self` as inferable
af2e2baa
sharkdp Fix problem with fallback classes (again)
73c79be9
sharkdp [ty] Todo-types for `os.fdopen`, `NamedTemporaryFile`, and `Path.open`
cffd7d5e
sharkdp Change TODO comment
1aa1b4cf
sharkdp Update Markdown tests
3e2ed3d7
sharkdp Rename synthetic annotation => inferred annotation
cbb016b9
sharkdp Code simplification
0aca273a
sharkdp Rename get_self_type, cleanup
3abd042d
sharkdp More cleanup, clarification
0a9edde5
sharkdp Also infer Self for positional-only self parameters
d7c4fece
sharkdp Fix clippy warnings
0cca501f
sharkdp Fix TODO related to protocols
5a716246
sharkdp Remove more explicit `Self` annotations
21f87baa
sharkdp Update thresholds
1b4fc59a
sharkdp Avoid type mapping
2d9a6f40
sharkdp Minor refactoring
0e41ec21
sharkdp Add tests for passing self implicitly
a6ddaa6b
sharkdp Minor review comments
f3a87d6c
sharkdp Remove check for Callable signature displays
88304118
sharkdp Use .expect(…)
3ce98cee
sharkdp sharkdp force pushed from 2b3aec13 to 3ce98cee 105 days ago
sharkdp
sharkdp sharkdp merged 00927943 into main 105 days ago
sharkdp sharkdp deleted the david/implicit-self-signature branch 105 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone