$npx skillfedfor your agent

hacking

OpenStack Hacking Guideline Enforcement

With conditionsPyPI Quality AssuranceReleased Jun 2026197.4K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — hacking-8.1.0-py3-none-any.whl
v8.1.0 · released 2026-06-11 · Python >=3.10 · 1 runtime deps: flake8

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Hacking pins specific versions of flake8 and related plugins, so it will install those exact versions alongside itself.
  • Low install friction with a single runtime dependency on flake8.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 licensed under a permissive license, allowing use in proprietary and open-source projects without significant restrictions.

last release 2026-06-11 (64 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 197,427 downloads/mo, #9,760 on PyPI

Verify before relying

pip install hacking

Then in your project's tox.ini or .flake8 config:
[flake8]
enable-extensions = H106,H203

Run: flake8 your_code.py
  • Whether the pinned flake8 and plugin versions in a given hacking release are compatible with other linting tools in your workflow.
  • How many OpenStack-specific checks are included in version 8.1.0 and whether they apply to non-OpenStack projects.
Same gist for agents: .md · .json

What it is and 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.

The package pins its dependencies—flake8, pep8, mccabe, and pyflakes—to 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

hacking on PyPI

Before you install

Low install friction with a single runtime dependency on flake8. Actively maintained with a recent release; pins its dependencies to prevent breaking changes from new versions of flake8 or its plugins.

Requires Python 3.10 or later. Hacking pins specific versions of flake8 and related plugins, so it will install those exact versions alongside itself.

License in practice

Apache-2.0 licensed under a permissive license, allowing use in proprietary and open-source projects without significant restrictions.

Quickstart

pip install hacking

Then in your project's tox.ini or .flake8 config:
[flake8]
enable-extensions = H106,H203

Run: flake8 your_code.py

Verify before relying

  • Whether the pinned flake8 and plugin versions in a given hacking release are compatible with other linting tools in your workflow.
  • How many OpenStack-specific checks are included in version 8.1.0 and whether they apply to non-OpenStack projects.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
flake8
MaintenanceActively maintained 64 days since the last release
First released
Downloads197,427 / month, #9,760 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleEnvironment :: OpenStackIntended Audience :: DevelopersIntended Audience :: Information TechnologyOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed

Evidence: hacking-8.1.0-py3-none-any.whl

Tags

Capabilities
openstack style guide enforcementflake8 plugins for code styleautomated python code lintingopenstack hacking checkspython style guide validation
Topics
openstackstyle-enforcementflake8-plugin

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “openstack style guide enforcement”

  • hackingHacking is a set of flake8 plugins that enforce the OpenStack Style…
  • valeVale is a command-line tool for enforcing editorial style guides on…
  • cpplintCpplint is a command-line static code checker that scans C/C++ files…

Give your agent the search over MCP, or paste the wish link into any chat.

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also flake8-mock-spec · wemake-python-styleguide · flake8 · flake8-copyright · flake8-literal · flake8-pyi · pytest-flake8 · flake8-type-checking · flake8-deprecated · pep8