Skip to content

Conversation

@eexwhyzee
Copy link
Contributor

@eexwhyzee eexwhyzee commented Oct 11, 2025

when starting a fresh virtualenv, pre-commit won't actually get installed after running uv sync since it's not in the the root pyproject.toml:

prime-cli ❯ git commit -m "test commit"
/Users/minh/repos/eexwhyzee/prime-cli/.venv/bin/python3: No module named pre_commit

so this PR just moves (i don't think it actually still needs to be in the packages/prime/pyproject.toml anymore) the pre-commit dependency into the root pyproject.toml to make sure it gets installed when you run uv sync per the README instructions for local development


Note

Moves pre-commit from packages/prime dev extras to root pyproject.toml dev-dependencies and updates uv.lock accordingly.

  • Workspace / Tooling:
    • Add pre-commit>=3.5.0 to root pyproject.toml under tool.uv.dev-dependencies.
  • Package (packages/prime):
    • Remove pre-commit from project.optional-dependencies.dev.
  • Lockfile (uv.lock):
    • Add pre-commit to [manifest.dependency-groups.dev].
    • Remove pre-commit entries from [package.optional-dependencies] and [package.metadata.requires-dist].

Written by Cursor Bugbot for commit 6e49ad3. This will update automatically on new commits. Configure here.

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.

1 participant