From 63f30eb8b27144834a9f758f67356dd8b2006e6d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 14 Sep 2022 13:12:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- traitlets/traitlets.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/traitlets/traitlets.py b/traitlets/traitlets.py index 3710ed4e..9bf8e75a 100644 --- a/traitlets/traitlets.py +++ b/traitlets/traitlets.py @@ -1008,7 +1008,6 @@ def setup_class(cls, classdict): cls._all_trait_default_generators[name] = trait.default - def observe(*names, type="change"): """A decorator which can be used to observe Traits on a class. @@ -1225,7 +1224,6 @@ def setup_instance(*args, **kwargs): descriptor.instance_init(self) - class HasTraits(HasDescriptors, metaclass=MetaHasTraits): _trait_values: t.Dict[str, t.Any] _trait_notifiers: t.Dict[str, t.Any]