Skip to content

Commit 0c44a09

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

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/test_typing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ class T(HasTraits):
252252
remove_cell_tags: Set[str] = Set(
253253
Unicode(),
254254
default_value=[],
255-
help=("Tags indicating which cells are to be removed,matches tags in ``cell.metadata.tags``."),
255+
help=(
256+
"Tags indicating which cells are to be removed,matches tags in ``cell.metadata.tags``."
257+
),
256258
).tag(config=True)
257259

258260
safe_output_keys: Set[t.Any] = Set(

traitlets/traitlets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ def instance_init(self, obj: t.Any) -> None:
505505
from typing_extensions import Literal, Self
506506

507507

508-
509508
# We use a type for the getter (G) and setter (G) because we allow
510509
# for traits to cast (for instance CInt will use G=int, S=t.Any)
511510
class TraitType(BaseDescriptor, t.Generic[G, S]):

0 commit comments

Comments
 (0)