Skip to content

Commit 68e2385

Browse files
committed
Fix lint
1 parent 3344008 commit 68e2385

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/_colorize.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ def no_colors(self) -> Self:
9797
for color_name, color_field in self.__dataclass_fields__.items():
9898
color_state[color_name] = ""
9999
return type(self)(**color_state)
100-
100+
101101
def __getitem__(self, key: str) -> str:
102102
return self._name_to_value(key)
103-
103+
104104
def __len__(self) -> int:
105105
return len(self.__dataclass_fields__)
106-
106+
107107
def __iter__(self) -> Iterator[str]:
108108
return iter(self.__dataclass_fields__)
109109

@@ -206,4 +206,4 @@ def set_theme(t: Theme) -> None:
206206
return
207207

208208

209-
set_theme(default_theme)
209+
set_theme(default_theme)

0 commit comments

Comments
 (0)