Fix python linter errors
This commit is contained in:
@@ -144,7 +144,7 @@ def test_machine_delete(
|
||||
) -> None:
|
||||
flake = flake_with_sops
|
||||
|
||||
admin_key, machine_key, machine2_key, *xs = sops_setup.keys
|
||||
admin_key, machine_key, machine2_key, *_xs = sops_setup.keys
|
||||
|
||||
# create a couple machines with their keys
|
||||
for name, key in (("my-machine", machine_key), ("my-machine2", machine2_key)):
|
||||
|
||||
@@ -1418,7 +1418,7 @@ def test_shared_generator_conflicting_definition_raises_error(
|
||||
# because they have conflicting definitions for the same shared generator
|
||||
with pytest.raises(
|
||||
ClanError,
|
||||
match=".*differ.*",
|
||||
match=r".*differ.*",
|
||||
):
|
||||
cli.run(["vars", "generate", "--flake", str(flake.path)])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user