From 2697c99087afb1a1bd3b1bff1fdeafbf2bf3ec45 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 12 Jan 2025 19:50:32 -0500 Subject: [PATCH] Fix --select for os-path-dirname (PTH120) --- crates/ruff_linter/src/checkers/ast/analyze/expression.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ruff_linter/src/checkers/ast/analyze/expression.rs b/crates/ruff_linter/src/checkers/ast/analyze/expression.rs index 3902f266d0151f..49819cfb66fb5d 100644 --- a/crates/ruff_linter/src/checkers/ast/analyze/expression.rs +++ b/crates/ruff_linter/src/checkers/ast/analyze/expression.rs @@ -974,6 +974,7 @@ pub(crate) fn expression(expr: &Expr, checker: &mut Checker) { Rule::OsPathIsabs, Rule::OsPathJoin, Rule::OsPathBasename, + Rule::OsPathDirname, Rule::OsPathSamefile, Rule::OsPathSplitext, Rule::BuiltinOpen,