Skip to content

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented Jul 27, 2024

Comment on lines +13 to +14
"call_evaluate_function",
"get_annotate_function",
Copy link
Member Author

Choose a reason for hiding this comment

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

These two were missing. The rest of the changes in this file are just formatting.

self.assertIs(annotate_func, None)


class TestAnnotationLib(unittest.TestCase):
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the only non-formatting change in this file.

@JelleZijlstra JelleZijlstra changed the title gh-119180: annotationlib: Fix __all__, reformat, other minor fixes gh-119180: annotationlib: Fix __all__, run Black on annotationlib.py, other minor fixes Jul 27, 2024
Copy link
Member

@AA-Turner AA-Turner left a comment

Choose a reason for hiding this comment

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

This is the first stdlib module we're proposing to use autoformatting for, is it worth checking on Discourse? Autoformatters are much more opionated than PEP 8, which may be a surprising experience for contributors (note @encukou ran into an issue with a similar tool just whilst making a change to a CPython-only docs extension).

A

@JelleZijlstra
Copy link
Member Author

I hoped it wouldn't be controversial since we're already doing it for some of the Tools/ code. I'm not interested in discussing this issue on Discourse; if there's disagreement, I'll just take out the autoformatting.

@JelleZijlstra JelleZijlstra enabled auto-merge (squash) August 11, 2024 23:21
@JelleZijlstra JelleZijlstra merged commit 4534068 into python:main Aug 11, 2024
@hugovk hugovk changed the title gh-119180: annotationlib: Fix __all__, run Black on annotationlib.py, other minor fixes gh-119180: annotationlib: Fix __all__, run Black other minor fixes Aug 12, 2024
@hugovk hugovk changed the title gh-119180: annotationlib: Fix __all__, run Black other minor fixes gh-119180: annotationlib: Fix __all__, other minor fixes Aug 12, 2024
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
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