Skip to content

Conversation

@sl0thentr0py
Copy link
Member

No description provided.

@sl0thentr0py sl0thentr0py requested a review from a team as a code owner June 27, 2025 14:20
@sl0thentr0py sl0thentr0py mentioned this pull request Jun 27, 2025
@sl0thentr0py sl0thentr0py force-pushed the neel/typing-integrations-5 branch from 9c82c88 to 7b8cb25 Compare June 30, 2025 10:40
@sl0thentr0py sl0thentr0py merged commit 4c8b4e9 into neel/typing Jun 30, 2025
106 of 107 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/typing-integrations-5 branch June 30, 2025 10:40
sl0thentr0py added a commit that referenced this pull request Jun 30, 2025
extracted from
https://github.com/getsentry/sentry-python/pull/4487/files with lots of
manual fixes

* migrate old style `# type: bla` to inline types
* most importantly use
[`__future__.annotations`](https://peps.python.org/pep-0563/#enabling-the-future-behavior-in-python-3-7)
so that we can simply use forward annotations without wrapping them in
strings like we did before, this simplifies things substantially
* also guard only things that shouldn't be imported under
`TYPE_CHECKING`, in the future it seems we should avoid using
`TYPE_CHECKING` completely
* #4510
* #4522
* #4529
* #4530
* #4532
* #4533
* #4534

closes #2585
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants