We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f709c7c commit e7c966fCopy full SHA for e7c966f
tests/integration_tests/build/test_clippy.py
@@ -9,19 +9,20 @@
9
10
SUCCESS_CODE = 0
11
MACHINE = platform.machine()
12
-TARGETS = [
13
- "{}-unknown-linux-gnu".format(MACHINE),
14
- "{}-unknown-linux-musl".format(MACHINE),
15
-]
+TARGETS = ["{}-unknown-linux-gnu".format(MACHINE),
+ "{}-unknown-linux-musl".format(MACHINE)]
16
17
18
-@pytest.mark.parametrize("target", TARGETS)
+@pytest.mark.parametrize(
+ "target",
+ TARGETS
19
+)
20
def test_rust_clippy(target):
21
"""
22
Test that clippy does not generate any errors/warnings.
23
24
@type: build
25
26
utils.run_cmd(
- "cargo clippy --target {} --all --profile test" " -- -D warnings".format(target)
27
- )
+ 'cargo clippy --target {} --all --profile test'
28
+ ' -- -D warnings'.format(target))
0 commit comments