{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"A pytest plugin that runs black format checks on your code during test execution, reporting formatting violations without applying changes automatically.","skillfed_tags":["pytest-plugin","code-formatting","ci-integration"],"use_cases":["Enforce code formatting standards in CI/CD pipelines by failing tests when black violations are detected.","Catch formatting inconsistencies during local development before pushing code to version control.","Integrate style checking into existing pytest workflows without adding separate linting steps.","Report formatting diffs to developers during test runs so they can see exactly what black would change."],"what_it_does":"pytest-black is a pytest plugin that integrates black's code formatting checks into your test suite. When you run pytest with the --black flag, it scans your code and reports any formatting violations that black would fix, displaying a diff of suggested changes. The plugin does not modify your code\u2014it only reports violations, leaving the decision to apply changes to you or your CI pipeline.\n\nThe plugin relies on pytest, black, and toml as runtime dependencies. It reads black configuration from pyproject.toml if present, allowing you to customize formatting rules per project. This makes it useful for enforcing consistent code style as part of automated testing rather than as a standalone formatter.","worth_installing":"Yes, if you already use pytest and black and want formatting checks as part of your test suite. The low install friction and permissive license make it straightforward to add. However, the dormant maintenance status (last commit 2024-12-23, zero repository stars) and old Python support floor (>=3.5) suggest limited ongoing development; verify compatibility with your current black version before relying on it in production CI/CD."},"id":"pytest-black","links":{"html":"https://skillfed.io/packages/pytest-black","md":"https://skillfed.io/packages/pytest-black.md","pypi":"https://pypi.org/project/pytest-black/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-12-15","license_spdx":null,"license_treatment":"permissive","name":"pytest-black","python_support":"supports_current","summary":"A pytest plugin to enable format checking with black"},"popularity":{"monthly_downloads":157185,"position":10762,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
