{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Hacking is a set of flake8 plugins that enforce the OpenStack Style Guide through automated code checks, catching style violations and dangerous patterns without manual review.","skillfed_tags":["openstack","style-enforcement","flake8-plugin"],"use_cases":["Enforce OpenStack style guidelines in OpenStack projects and related codebases during CI/CD gating.","Catch dangerous patterns like reserved-word shadowing and unsafe logging practices automatically before code review.","Add project-specific linting rules by registering local plugins alongside hacking's built-in checks.","Ensure code style consistency across teams by automating what would otherwise require manual reviewer effort."],"what_it_does":"Hacking is a collection of flake8 plugins designed to automate enforcement of the OpenStack Style Guide. It extends flake8 with OpenStack-specific checks that catch style violations, dangerous patterns (like shadowing built-ins), and common programming errors. The tool runs as part of code review workflows to reduce manual style nitpicking and ensure consistency across projects with multiple authors.\n\nThe package pins its dependencies\u2014flake8, pep8, mccabe, and pyflakes\u2014to specific versions to prevent new releases of those tools from introducing stricter rules or new checks that would unexpectedly break existing code. This stability is important for projects that gate on hacking versions. Some checks are disabled by default and can be enabled via configuration. Hacking also supports local project-specific checks registered as plugins in tox.ini.","worth_installing":"Yes, if you are working on OpenStack projects or adopting the OpenStack Style Guide. The low install friction, active maintenance, and permissive license make it a straightforward addition to a flake8-based workflow. If your project does not follow OpenStack conventions, the checks may not be relevant; evaluate whether the built-in rules align with your style guide first."},"id":"hacking","links":{"html":"https://skillfed.io/packages/hacking","md":"https://skillfed.io/packages/hacking.md","pypi":"https://pypi.org/project/hacking/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-11","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"hacking","python_support":"supports_current","summary":"OpenStack Hacking Guideline Enforcement"},"popularity":{"monthly_downloads":197427,"position":9760,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"8.1.0"}
