Skip to content

PROVECODE 0.2.1 (beta)

Pre-release
Pre-release

Choose a tag to compare

@Shriram28Baskar Shriram28Baskar released this 22 Nov 16:24
· 5 commits to main since this release

Beta. Small fixes after 0.2.0. No detection rule changed, and every benchmark case result is identical to 0.2.0. Real-world precision is not yet measured.

Install

uv tool install "provecode[cli] @ git+https://github.com/Shriram28Baskar/provecode@v0.2.1#subdirectory=engine"
pipx install "provecode[cli] @ git+https://github.com/Shriram28Baskar/provecode@v0.2.1#subdirectory=engine"
pip install "provecode[cli] @ git+https://github.com/Shriram28Baskar/provecode@v0.2.1#subdirectory=engine"
  • GitHub Action: uses: Shriram28Baskar/provecode@v0.2.1. See it on a real repository: provecode-action-demo.
  • pre-commit:
    repos:
      - repo: https://github.com/Shriram28Baskar/provecode
        rev: v0.2.1
        hooks:
          - id: provecode

Added

  • provecode --version.
  • pre-commit framework hook: repo: https://github.com/Shriram28Baskar/provecode, rev: v0.2.1, id: provecode runs provecode guard --staged. A root pyproject.toml builds the same package from engine/src, because pre-commit installs a hook repository from its root. Checked with pre-commit try-repo: a staged weakening is blocked (S2) and a staged honest refactor passes.

Changed

  • Packaging uses an SPDX license expression (license = "MIT", setuptools ≥ 77). The old table form is deprecated, and setuptools stops building it after 2027-02-18.

Verified

  • The GitHub Action (@v0.2.0, no contract) on a real repository, provecode-action-demo: the PR that loosens a test fails the check, and an honest refactor passes it.

No rule changed. Every benchmark case result is identical to 0.2.0.