diff --git a/crates/pylyzer_core/handle_err.rs b/crates/pylyzer_core/handle_err.rs index 3d8161f..840efa6 100644 --- a/crates/pylyzer_core/handle_err.rs +++ b/crates/pylyzer_core/handle_err.rs @@ -62,7 +62,7 @@ fn filter_error( .input .path() .canonicalize() - .is_ok_and(|path| !path.starts_with(root)) + .is_ok_and(|path| path.starts_with(root.join(".venv")) || !path.starts_with(root)) }) { return None;