flake8-use-pathlib
JSON →flake8-use-pathlib is a plugin for the Flake8 linter that identifies patterns in Python code where functions from the `os.path` module (and other `os` functions) can be replaced by a more modern, object-oriented approach using the `pathlib` module. It helps developers write cleaner, more consistent, and cross-platform compatible code for file system operations. The current version is 0.3.0, released in August 2022, and it is actively maintained, with its rules also integrated into linters like Ruff.
Traffic · last 30 days ↓50% vs prev 7d
total hits 18
actors 7 distinct systems
last hit 1d ago MetaBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇺🇦 Ukraine
Resources
API endpoints
full doc /v1/registry/flake8-use-pathlib