Skip to content

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Aug 8, 2025

Comment on lines +20 to +21

from __future__ import annotations
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
from __future__ import annotations
from __future__ import annotations

Copy link
Member Author

Choose a reason for hiding this comment

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

Both black and ruff format it with the extra new line. Other modules also use this style:

from __future__ import annotations

So, I prefer to keep this as-is.

@sobolevn sobolevn merged commit 68a61b0 into python:main Aug 12, 2025
52 checks passed
@miss-islington-app
Copy link

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 12, 2025
…nsion_modules` with mypy (pythonGH-137546)

(cherry picked from commit 68a61b0)

Co-authored-by: sobolevn <[email protected]>
@miss-islington-app
Copy link

Sorry, @sobolevn, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 68a61b0f1d5661180fd432ff9b8ab21272468a87 3.13

@bedevere-app
Copy link

bedevere-app bot commented Aug 12, 2025

GH-137679 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Aug 12, 2025
sobolevn added a commit to sobolevn/cpython that referenced this pull request Aug 12, 2025
…ck_extension_modules` with mypy (pythonGH-137546)

(cherry picked from commit 68a61b0)

Co-authored-by: sobolevn <[email protected]>
sobolevn added a commit to sobolevn/cpython that referenced this pull request Aug 12, 2025
…ck_extension_modules` with mypy (pythonGH-137546)

(cherry picked from commit 68a61b0)

Co-authored-by: sobolevn <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Aug 12, 2025

GH-137691 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Aug 12, 2025
sobolevn added a commit that referenced this pull request Aug 13, 2025
…ension_modules` with mypy (GH-137546) (#137691)

(cherry picked from commit 68a61b0)
hugovk pushed a commit that referenced this pull request Aug 13, 2025
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants