From 1f160f3614b8400d98c769a2206f1c82abc7a63c Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Thu, 20 Jul 2023 20:24:55 +0200 Subject: [PATCH] Fix lint --- zigpy_znp/types/basic.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zigpy_znp/types/basic.py b/zigpy_znp/types/basic.py index 7b033ada..c9e2b82b 100644 --- a/zigpy_znp/types/basic.py +++ b/zigpy_znp/types/basic.py @@ -1,7 +1,7 @@ from __future__ import annotations -import enum import sys +import enum import typing import zigpy.types as zigpy_t @@ -67,8 +67,9 @@ def __init_subclass__(cls, signed=None, size=None, hex_repr=None) -> None: cls.__repr__ = super().__repr__ if sys.version_info < (3, 10): - # XXX: The enum module uses the first class with __new__ in its __dict__ as the - # member type. We have to ensure this is true for every subclass. + # XXX: The enum module uses the first class with __new__ in its __dict__ + # as the member type. We have to ensure this is true for + # every subclass. # Fixed with https://github.com/python/cpython/pull/26658 if "__new__" not in cls.__dict__: cls.__new__ = cls.__new__