Commit 63f8f7dd authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

feat: Configure clippy to auto-fix and clear issue

parent 79cf10db
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6,8 +6,7 @@ clean:

lint:
	@cargo fmt --verbose
	# @cargo clippy --no-deps --all-targets --fix
	@cargo clippy --no-deps
	@cargo clippy --no-deps --all-targets --fix --allow-dirty

test: lint
	@cargo test
+1 −1
Original line number Diff line number Diff line
@@ -331,7 +331,7 @@ fn test_script_from_template() {
    let path = PathBuf::from(format!("{}/template_exec.json", FIXTURES));
    let script = Script::from_path(path);
    assert_eq!(
        format!("{}", script.to_string()),
        format!("{}", script),
        "conda run --name base --no-capture-output python -m lib --input {{INPUT_DIRECTORY}} --output {{OUTPUT_DIRECTORY}}"
    );
    assert_eq!(script.command.name, "python");