From 93315515fc25b952817a062f06b8c3a621ddc609 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Sat, 7 Oct 2023 12:21:16 -0400 Subject: [PATCH] Fix lint --- src/app.rs | 2 ++ src/commands/self_cmd/metadata.rs | 2 ++ src/commands/self_cmd/pip.rs | 2 ++ src/commands/self_cmd/python.rs | 2 ++ src/commands/self_cmd/python_path.rs | 2 ++ 5 files changed, 10 insertions(+) diff --git a/src/app.rs b/src/app.rs index 36d4974..30d7378 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1,3 +1,5 @@ +#![allow(clippy::eq_op)] + use std::env; use std::path::PathBuf; diff --git a/src/commands/self_cmd/metadata.rs b/src/commands/self_cmd/metadata.rs index 3aefd6a..931109d 100644 --- a/src/commands/self_cmd/metadata.rs +++ b/src/commands/self_cmd/metadata.rs @@ -1,3 +1,5 @@ +#![allow(clippy::eq_op)] + use std::fs; use anyhow::Result; diff --git a/src/commands/self_cmd/pip.rs b/src/commands/self_cmd/pip.rs index 1dd2064..7ee55a1 100644 --- a/src/commands/self_cmd/pip.rs +++ b/src/commands/self_cmd/pip.rs @@ -1,3 +1,5 @@ +#![allow(clippy::eq_op)] + use anyhow::{Context, Result}; use clap::Args; diff --git a/src/commands/self_cmd/python.rs b/src/commands/self_cmd/python.rs index c614b5d..8f62a71 100644 --- a/src/commands/self_cmd/python.rs +++ b/src/commands/self_cmd/python.rs @@ -1,3 +1,5 @@ +#![allow(clippy::eq_op)] + use anyhow::{Context, Result}; use clap::Args; diff --git a/src/commands/self_cmd/python_path.rs b/src/commands/self_cmd/python_path.rs index 364f733..8d682c0 100644 --- a/src/commands/self_cmd/python_path.rs +++ b/src/commands/self_cmd/python_path.rs @@ -1,3 +1,5 @@ +#![allow(clippy::eq_op)] + use anyhow::Result; use clap::Args;