(args)
| 35 | |
| 36 | |
| 37 | def default(args): |
| 38 | format_(args) |
| 39 | |
| 40 | if nightly(): |
| 41 | run( |
| 42 | "cargo", |
| 43 | "clippy", |
| 44 | "--all-features", |
| 45 | "--tests", |
| 46 | "--benches", |
| 47 | "--", |
| 48 | *DENY_WARNINGS, |
| 49 | ) |
| 50 | else: |
| 51 | run("cargo", "clippy", "--all-features", "--tests", "--", *DENY_WARNINGS) |
| 52 | |
| 53 | for manifest in gen_examples("Cargo.toml"): |
| 54 | run("cargo", "clippy", "--manifest-path", manifest, "--", *DENY_WARNINGS) |
| 55 | |
| 56 | run("cargo", "test", "--all-features", "--lib", "--tests") |
| 57 | |
| 58 | |
| 59 | def check(args): |
no test coverage detected