diff --git a/tests/integration_tests/build/test_clippy.py b/tests/integration_tests/build/test_clippy.py index 3c869805582..e185cf3a402 100644 --- a/tests/integration_tests/build/test_clippy.py +++ b/tests/integration_tests/build/test_clippy.py @@ -9,14 +9,13 @@ SUCCESS_CODE = 0 MACHINE = platform.machine() -TARGETS = ["{}-unknown-linux-gnu".format(MACHINE), - "{}-unknown-linux-musl".format(MACHINE)] +TARGETS = [ + "{}-unknown-linux-gnu".format(MACHINE), + "{}-unknown-linux-musl".format(MACHINE), +] -@pytest.mark.parametrize( - "target", - TARGETS -) +@pytest.mark.parametrize("target", TARGETS) def test_rust_clippy(target): """ Test that clippy does not generate any errors/warnings. @@ -24,5 +23,5 @@ def test_rust_clippy(target): @type: build """ utils.run_cmd( - 'cargo clippy --target {} --all --profile test' - ' -- -D warnings'.format(target)) + "cargo clippy --target {} --all --profile test" " -- -D warnings".format(target) + )