mirror of https://github.com/astral-sh/ruff
[`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:
parent
4f37fdeff2
commit
2454305ef8
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue