Skip to content

feat(python): execute type checkers#242

Merged
EivMeyer merged 9 commits into
mainfrom
dev
Jul 14, 2026
Merged

feat(python): execute type checkers#242
EivMeyer merged 9 commits into
mainfrom
dev

Conversation

@EivMeyer

Copy link
Copy Markdown
Contributor

Problem

python.types found mypy or pyright and then returned PYTHON_TYPES_DEFERRED, so configured Python projects did not get type diagnostics from Opcore.

Approach

Promote the #239 dev fix after syncing current main into dev so the protected main promotion path uses the enforced source branch.

Verification

  • timeout 300 npm run build
  • timeout 180 node --test tests/validation-python.test.mjs tests/opcore-facade.test.mjs
  • timeout 180 npm run lint

Fixes #208

EivMeyer and others added 9 commits July 13, 2026 17:31
Opcore ship runs depend on setup being idempotent in a fresh worktree. Add a CI guard that runs setup in a throwaway worktree and fails if it leaves dirty files.
Align Opcore Zeroshot defaults with the enforced branch workflow: feature runs target dev and dev promotes to main.
Fix #210 by resolving Python validation tools from the repository under check before falling back to PATH.

Routes repoRoot through Python validation status, reports resolved command/source/config metadata, and keeps missing type tools degraded rather than silently passing. Also fixes release package inspection ordering so forbidden public bins fail with the intended diagnostic before packlist checks.
Co-authored-by: Eivind <eivindcovibes.ai@Eivinds-MacBook-Pro.local>
# Conflicts:
#	packages/validation-python/src/type-check.ts
@EivMeyer
EivMeyer merged commit 8ed629c into main Jul 14, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(python): execute mypy or pyright for python.types

1 participant