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

Update pyupgrade to v2.10.1 #48089

Merged
merged 1 commit into from
Mar 18, 2021
Merged

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Mar 18, 2021

Proposed change

Upgrade the pyupgrade pre-commit hook to the newest version.
asottile/pyupgrade@v2.7.2...v2.10.1

The update mainly includes automatic updates of type annotations where possible.
Requires from __future__ import annotations to be present in file.

Related: home-assistant/architecture#493
Depends on: #48087

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

@probot-home-assistant probot-home-assistant bot added dependency small-pr PRs with less than 30 lines. labels Mar 18, 2021
@cdce8p cdce8p mentioned this pull request Mar 18, 2021
6 tasks
@cdce8p cdce8p force-pushed the update-pyupgrade branch from f9432d6 to fddd3de Compare March 18, 2021 22:14
@frenck
Copy link
Member

frenck commented Mar 18, 2021

meh last-minute merge conflict 😟

@cdce8p cdce8p force-pushed the update-pyupgrade branch from fddd3de to fd24527 Compare March 18, 2021 22:26
@cdce8p
Copy link
Member Author

cdce8p commented Mar 18, 2021

Just did the rebase

@cdce8p
Copy link
Member Author

cdce8p commented Mar 18, 2021

pyupgrade checked already passed as well

@frenck frenck merged commit 7def367 into home-assistant:dev Mar 18, 2021
@cdce8p cdce8p deleted the update-pyupgrade branch March 18, 2021 23:20
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed dependency small-pr PRs with less than 30 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants