{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"A flake8 plugin that detects uses of os and os.path functions that have modern pathlib equivalents, flagging them with specific rule codes for replacement.","skillfed_tags":["linter","pathlib","code-modernization"],"use_cases":["Enforce pathlib usage in new code reviews by catching os.path calls during CI/CD linting.","Bulk-identify legacy file-operation patterns in an existing codebase for systematic modernization.","Teach developers the pathlib API by providing immediate, specific feedback on os module usage.","Migrate projects from py.path.local to pathlib as part of a broader modernization effort."],"what_it_does":"flake8-use-pathlib is a linter plugin that integrates with flake8 to automatically detect and flag legacy file-system operations from the os and os.path modules that should be replaced with pathlib equivalents. Each pattern is assigned a specific rule code so developers can quickly identify and modernize their code.\n\nThe plugin works as a standard flake8 extension; once installed, it runs automatically during linting and reports violations with their corresponding rule codes and suggested pathlib replacements. It targets Python 3.7 and later, supporting current Python versions at the time of its last release.","worth_installing":"Yes, if you are actively linting code and want to enforce pathlib adoption. The plugin is straightforward, has no security vulnerabilities, and carries a permissive license. However, be aware that the package is abandoned\u2014it has not been updated since 2022-08-14. If you rely on it, verify that its rule set and flake8 compatibility remain suitable for your current Python and flake8 versions; do not expect bug fixes or new features."},"id":"flake8-use-pathlib","links":{"html":"https://skillfed.io/packages/flake8-use-pathlib","md":"https://skillfed.io/packages/flake8-use-pathlib.md","pypi":"https://pypi.org/project/flake8-use-pathlib/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-08-14","license_spdx":null,"license_treatment":"permissive","name":"flake8-use-pathlib","python_support":"supports_current","summary":"A plugin for flake8 finding use of functions that can be replaced by pathlib module."},"popularity":{"monthly_downloads":336391,"position":7461,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.0"}
