py-path (PTH124)
Added in v0.0.231 · Related issues · View source
Derived from the flake8-use-pathlib linter.
What it does
Checks for uses of the py.path library.
Why is this bad?
The py.path library is in maintenance mode. Instead, prefer the standard
library's pathlib module, or third-party modules like path (formerly
py.path).
Examples
Use instead: