chore(cliproxyapi-plusplus): add pyproject.toml - #1059
Conversation
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6cf7c57028
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| license = { text = "MIT" } | ||
|
|
||
| [tool.hatch.build.targets.wheel] | ||
| packages = ["src"] |
There was a problem hiding this comment.
Point the wheel at the actual Python package
When the CircleCI python-check job runs uv sync --all-extras, uv installs the root project and Hatch will use this wheel target. This points at a root-relative ./src package, but the checkout has no root src directory; the Python code is elsewhere (for example sdk/python/cliproxy). In a clean CI/package build this either fails to build/install the project or produces a wheel that contains none of the intended Python package, so point packages at the real package path or mark this as a non-package project.
Useful? React with 👍 / 👎.
| version = "0.1.0" | ||
| description = "Phenotype fleet module" | ||
| requires-python = ">=3.10" | ||
| license = { text = "MIT" } |
There was a problem hiding this comment.
Declare the tools CircleCI runs under uv
In the inspected .circleci/config.yml python-check path, the image installs only uv, syncs this project with uv sync --all-extras, then runs uv run ruff, uv run mypy, and uv run pytest. This new project metadata declares no dependencies, optional extras, or dependency groups containing those tools, so in a clean executor uv run ruff cannot be spawned after the sync. Add the CI tools to a dev extra/group or run them with explicit uv run --with ... packages.
Useful? React with 👍 / 👎.
| requires = ["hatchling"] | ||
| build-backend = "hatchling.build" | ||
|
|
||
| [project] |
There was a problem hiding this comment.
WARNING: Missing dependencies in [project]
The package imports httpx (in sdk/python/cliproxy/api.py) but doesn't declare it as a runtime dependency. Without this, pip install won't bring in httpx, causing an ImportError at runtime.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: 1 Warning Found | Recommendation: Request Changes Overview
Issue Details (click to expand)WARNING
Files Reviewed (1 file)
Fix these issues in Kilo Cloud Reviewed by step-3.7-flash · Input: 87.4K · Output: 23.8K · Cached: 557.6K |



User description
From WBS audit.
CodeAnt-AI Description
Add standard project packaging and code-quality configuration
What Changed
Impact
✅ Installable Python package✅ Consistent Python version support✅ Earlier detection of code-quality issues💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.