Reformat entire project with ruff instead of black

This commit is contained in:
Rapptz committed 2025-08-18 20:16:10 -04:00
1 parent 3ef6272e07
commit 44a44e938f
88 files changed
+485 -730

No files matched your search

+1 -1
View File
@@ -176,7 +176,7 @@ class EnumMeta(type):
try:
return cls._enum_value_map_[value]
except (KeyError, TypeError):
raise ValueError(f"{value!r} is not a valid {cls.__name__}")
raise ValueError(f'{value!r} is not a valid {cls.__name__}')
def __getitem__(cls, key: str) -> Any:
return cls._enum_member_map_[key]