---
source: crates/ruff/src/rules/flake8_use_pathlib/mod.rs
---
py_path_2.py:3:5: PTH124 `py.path` is in maintenance mode, use `pathlib` instead
  |
3 | from py.path import local as path
4 | 
5 | p = path("/foo")
  |     ^^^^ PTH124
  |


