Skip to content

Commit eaf1540

Browse files
committed
Format test_clippy.py
Signed-off-by: StemCll [email protected]
1 parent 48afec7 commit eaf1540

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

tests/integration_tests/build/test_clippy.py

+7-8
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,19 @@
99

1010
SUCCESS_CODE = 0
1111
MACHINE = platform.machine()
12-
TARGETS = ["{}-unknown-linux-gnu".format(MACHINE),
13-
"{}-unknown-linux-musl".format(MACHINE)]
12+
TARGETS = [
13+
"{}-unknown-linux-gnu".format(MACHINE),
14+
"{}-unknown-linux-musl".format(MACHINE),
15+
]
1416

1517

16-
@pytest.mark.parametrize(
17-
"target",
18-
TARGETS
19-
)
18+
@pytest.mark.parametrize("target", TARGETS)
2019
def test_rust_clippy(target):
2120
"""
2221
Test that clippy does not generate any errors/warnings.
2322
2423
@type: build
2524
"""
2625
utils.run_cmd(
27-
'cargo clippy --target {} --all --profile test'
28-
' -- -D warnings'.format(target))
26+
"cargo clippy --target {} --all --profile test" " -- -D warnings".format(target)
27+
)

0 commit comments

Comments
 (0)