Commit Graph
2 Commits
Author SHA1 Message Date
Claude 291bb79836 fix: use Self return type for SCMContext.__enter__ and __call__
Return self directly in __enter__ instead of the @contextmanager's
__enter__() return value. Also update __call__ to return
Iterator[Self]. They're semantically identical (the contextmanager
yields self), but this satisfies both ruff PYI034 and mypy.

https://claude.ai/code/session_01M18n2k6KLenwMRANgSFMXc
2026-02-11 08:15:06 +00:00
Claude c541954a80 fix: resolve ruff v0.15.0 linter errors
- PYI034: Use `Self` return type for `__enter__` in SCMContext
- PLW0108: Replace unnecessary lambda with direct `bool` reference

https://claude.ai/code/session_01M18n2k6KLenwMRANgSFMXc
2026-02-11 07:45:58 +00:00