fronzbot / blinkpy

A Python library for the Blink Camera system
MIT License
525 stars 111 forks source link

Aiofiles import cleanup, fix warnings in pyproject.toml #906

Closed mkmer closed 2 months ago

mkmer commented 2 months ago

Description:

Reviewing https://github.com/home-assistant/core/issues/108833 I noticed a bit of double importing. This should not change the behavior just tidy things up.

Additionally, received a few warnings from ruff/lint in the pyporject.toml files. Implemented the recommended changes

Related issue (if applicable): fixes #

Checklist:

mkmer commented 2 months ago

The HA guys have confirmed my bad import practice is causing the problem - I guess we need to generate a release :( The users container has aiofiles 0.6.0 even though blinkpy requirements is =>2023.1.0 - that may also be part of the issue, but this PR fixes it.

mkmer commented 2 months ago

Can we do a release for this change soon? Looks like all of the PR's are in (and I would like to get the HA PR released).