6.1.2.18. RustClippyIntegration

Execute clippy on a cargo-based Rust project

This rule calls `cargo clippy` inside the given working directory.

Options

The following places define options that affect this rule: BuildSystemIntegration, Project-GlobalOptions

abort_on_error

abort_on_error : bool = True

If set to true and the build step returns a non-zero exit-code, the build is aborted. Otherwise a non-zero exit-code is logged but the build continues.
 

environment

environment : dict[str, str] = {}

Environment for all calls to `cargo clippy`. These entries are added to the environment and existing ones will be overwritten.

 

manifest_path

manifest_path : bauhaus.analysis.config.ProjectRelativePath = 'None (value must be set)'

Path to the Cargo.toml manifest file to use.
 

options

options : str | None = '--message-format json'

Additional command-line parameters for `cargo clippy`.
 

toolname

toolname : str = 'cargo-clippy'

cargo command to call.