Skip to content

Commit 4925fea

Browse files
author
Barry Barrette
committed
ruff formatting
1 parent db62943 commit 4925fea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openapi_python_client/parser/properties/enum_property.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ def get_imports(self, *, prefix: str) -> set[str]:
184184
return imports
185185

186186
@staticmethod
187-
def values_from_list(values: list[str] | list[int], class_info: Class, var_names: list[str]) -> dict[str, ValueType]:
187+
def values_from_list(
188+
values: list[str] | list[int], class_info: Class, var_names: list[str]
189+
) -> dict[str, ValueType]:
188190
"""Convert a list of values into dict of {name: value}, where value can sometimes be None"""
189191
output: dict[str, ValueType] = {}
190192
use_var_names = len(var_names) == len(values)

0 commit comments

Comments
 (0)