Skip to content

Commit 81e18ff

Browse files
forest-benchlingdbanty
authored andcommitted
Lint
1 parent 0b6f8e9 commit 81e18ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

openapi_python_client/parser/properties/model_property.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ def _is_subtype(first: Property, second: Property) -> bool:
6969
[
7070
_is_string_enum(first) and isinstance(second, StringProperty),
7171
_is_int_enum(first) and isinstance(second, IntProperty),
72-
_is_string_enum(first)
73-
and _is_string_enum(second)
74-
and values_are_subset(first, second),
72+
_is_string_enum(first) and _is_string_enum(second) and values_are_subset(first, second),
7573
_is_int_enum(first) and _is_int_enum(second) and values_are_subset(first, second),
7674
]
7775
)

0 commit comments

Comments
 (0)