diff --git a/crates/ruff_linter/src/checkers/ast/analyze/expression.rs b/crates/ruff_linter/src/checkers/ast/analyze/expression.rs index 3902f266d0..49819cfb66 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,