Skip to content

Commit 74d635c

Browse files
committed
Run Ruff check --fix
1 parent 0347db7 commit 74d635c

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

jaraco/text/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
import re
66
import sys
77
import textwrap
8-
from collections.abc import Callable, Sequence
8+
from collections.abc import Callable, Generator, Iterable, Sequence
99
from typing import (
1010
TYPE_CHECKING,
11-
Generator,
12-
Iterable,
1311
Literal,
1412
Protocol,
1513
SupportsIndex,
16-
Tuple,
1714
TypeVar,
1815
overload,
1916
)
@@ -306,7 +303,7 @@ def indent(string: str, prefix: str = ' ' * 4) -> str:
306303
return prefix + string
307304

308305

309-
class WordSet(Tuple[str, ...]):
306+
class WordSet(tuple[str, ...]):
310307
"""
311308
Given an identifier, return the words that identifier represents,
312309
whether in camel case, underscore-separated, etc.

0 commit comments

Comments
 (0)