[`flake8-pathlib`] Fix `--select` for `os-path-dirname` (`PTH120`) (#15446)

## Summary

Closes https://github.com/astral-sh/ruff/issues/15439.
This commit is contained in:
Charlie Marsh 2025-01-12 19:55:46 -05:00 committed by GitHub
parent 4f37fdeff2
commit 2454305ef8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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,