mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-26 21:33:25 +00:00
Cleanup with ruff check (#963)
* Implement improvements suggested by ruff check. * Add ruff check to CI. * Add changelog fragment.
This commit is contained in:
@@ -37,9 +37,9 @@ if t.TYPE_CHECKING:
|
||||
|
||||
|
||||
def cartesian_product(
|
||||
list1: list[_S], list2: "list[tuple[*_Ts]]"
|
||||
) -> "list[tuple[_S, *_Ts]]":
|
||||
result: "list[tuple[_S, *_Ts]]" = []
|
||||
list1: list[_S], list2: "list[tuple[*_Ts]]" # noqa: UP037
|
||||
) -> "list[tuple[_S, *_Ts]]": # noqa: UP037
|
||||
result: "list[tuple[_S, *_Ts]]" = [] # noqa: UP037
|
||||
for item1 in list1:
|
||||
item1_tuple = (item1,)
|
||||
for item2 in list2:
|
||||
|
||||
Reference in New Issue
Block a user