Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply com2ann to upgrade comment annotations to native variable annotations #1534

Merged
merged 5 commits into from Mar 2, 2021

Conversation

graingert
Copy link
Member

@graingert graingert commented Mar 1, 2021

Scope and purpose

apply pipx run com2ann --python-minor-version=6 -s src and fix any lint errors
Python 3.6 introduces variable annotation syntax, we should use it in favour of legacy type comments

Contributor Checklist:

pipx run com2ann --python-minor-version=6 -s src
@graingert graingert changed the title apply com2ann apply com2ann to upgrade comment annotations to native variable annotations Mar 1, 2021
@graingert graingert merged commit bfbbf3b into twisted:trunk Mar 2, 2021
@graingert graingert deleted the apply-com2ann branch March 2, 2021 00:06
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.

None yet

2 participants