1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Lint suppression cleanups (#47248)

* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
This commit is contained in:
Ville Skyttä
2021-03-02 10:02:04 +02:00
committed by GitHub
parent 38a2f196b8
commit dc880118a4
217 changed files with 237 additions and 306 deletions

View File

@@ -62,7 +62,7 @@ class EntityPlatform:
self.scan_interval = scan_interval
self.entity_namespace = entity_namespace
self.config_entry: Optional[config_entries.ConfigEntry] = None
self.entities: Dict[str, Entity] = {} # pylint: disable=used-before-assignment
self.entities: Dict[str, Entity] = {}
self._tasks: List[asyncio.Future] = []
# Stop tracking tasks after setup is completed
self._setup_complete = False