Skip to content

Commit abd5f31

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e350bda commit abd5f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

traitlets/traitlets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ def class_init(self, cls: type[HasTraits], name: str | None) -> None:
12901290
class HasDescriptors(metaclass=MetaHasDescriptors):
12911291
"""The base class for all classes that have descriptors."""
12921292

1293-
def __new__(*args: t.Any, **kwargs: t.Any) -> Self: # type:ignore[misc, type-var]
1293+
def __new__(*args: t.Any, **kwargs: t.Any) -> Self: # type:ignore[misc, type-var]
12941294
# Pass cls as args[0] to allow "cls" as keyword argument
12951295
cls = args[0]
12961296
args = args[1:]

0 commit comments

Comments
 (0)