Skip to content

Commit

Permalink
lint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaiton committed Jun 10, 2024
1 parent 39546fb commit df54704
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion example/types/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down
2 changes: 1 addition & 1 deletion pypechain/templates/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down
2 changes: 1 addition & 1 deletion pypechain/test/deployment/types/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down
2 changes: 1 addition & 1 deletion pypechain/test/errors/types/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down
2 changes: 1 addition & 1 deletion pypechain/test/events/types/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down
2 changes: 1 addition & 1 deletion pypechain/test/overloading/types/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down
2 changes: 1 addition & 1 deletion pypechain/test/return_types/types/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down
2 changes: 1 addition & 1 deletion pypechain/test/structs/types/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def rename_returned_types(
# Convert the tuple to the dataclass instance using the utility function
converted_values = []
for return_type, value in zip(return_types, raw_values):
if type(return_type) == type(list[Any]):
if type(return_type) == type(list[Any]): # pylint: disable=unidiomatic-typecheck
raise NotImplementedError("Multiple return values of type list[...] is not supported.")
converted_values.append(tuple_to_dataclass(return_type, structs, value))
converted_values = tuple(converted_values)
Expand Down

0 comments on commit df54704

Please sign in to comment.