Skip to content

fix: add lint rule to detect bare pip install and fix beval.yml violation #2500

Open

Description

Component

Scripts / Workflows

Description

A companion to #1313, which narrows scope to instruction file updates. This issue owns the enforcement backstop and the one known existing violation.

Background: #1313 adds explicit pip install prohibitions to the Python instruction files. Without a validation mechanism, those rules have no CI enforcement and regressions can silently appear.

Known violation: .github/workflows/beval.yml contains a bare pip install --no-cache-dir "beval[all] @ git+..." call that should be replaced with a uv-managed equivalent to comply with the repo's uv-first Python convention.

Acceptance Criteria

  • A new reusable workflow (.github/workflows/pip-install-lint.yml) runs a script that detects bare pip install calls in .github/workflows/, scripts/, and .py files
  • A corresponding job is added to pr-validation.yml to invoke the new reusable workflow on every PR targeting main
  • The lint check excludes: uv pip install/uv pip freeze forms, files under evals/ that reference pip install as failure-signal strings, and THIRD-PARTY-NOTICES
  • .github/workflows/beval.yml is updated to use the uv-managed equivalent of the beval install
  • The new lint check passes clean against the updated repo

Additional Context

npm run lint:all is a local developer convenience aggregator and is not called by any CI workflow. New lint checks require both a reusable workflow file and an explicit job entry in pr-validation.yml to run on PRs.

Activity

  1. added
    enhancement
    needs-triage
    on Jul 23, 2026
  2. added
    bug
    ci
    linting
    scripts
    workflows
    and removed
    needs-triage
    on Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcienhancementlintingscriptsworkflows

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions