Adoption path 2: CLI wrapper

Updated May 19, 2026

Use the CLI wrapper when the invocation itself should install the patch before delegating to Pylint:

pylint-pypy your_package

For a local checkout, run the module directly:

uv run python -m pylint_pypy_shim.cli your_package

Local checkouts also provide tools/pylint_pypy.py for subprocess smoke tests and ad hoc source-tree runs:

uv run python tools/pylint_pypy.py your_package

The script adds the checkout's pkg/ directory to sys.path before importing the package, so it works before the project is installed as a wheel.

The wrapper returns Pylint's exit status. A clean run returns 0; lint violations or Pylint failures return Pylint's non-zero status so CI can fail in the normal way.