Skip to content

Commit

Permalink
Revert format in tests/integration_tests/build/test_clippy.py
Browse files Browse the repository at this point in the history
Signed-off-by: StemCll [email protected]
  • Loading branch information
StemCll committed Nov 2, 2022
1 parent f709c7c commit e7c966f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tests/integration_tests/build/test_clippy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@

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.
@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))

0 comments on commit e7c966f

Please sign in to comment.