Skip to content

chore(cliproxyapi-plusplus): add pyproject.toml - #1059

Merged
KooshaPari merged 1 commit into
mainfrom
chore/wbs-round22-20260808
Aug 9, 2026
Merged

chore(cliproxyapi-plusplus): add pyproject.toml#1059
KooshaPari merged 1 commit into
mainfrom
chore/wbs-round22-20260808

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Aug 9, 2026

Copy link
Copy Markdown
Owner

User description

From WBS audit.


CodeAnt-AI Description

Add standard project packaging and code-quality configuration

What Changed

  • The project can now be built and installed as a Python package using its declared metadata
  • The package requires Python 3.10 or newer and includes its source files in built distributions
  • Consistent formatting and lint checks are defined for the codebase

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:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

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:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

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.

Copilot AI lite review requested due to automatic review settings August 9, 2026 03:08
@codeant-ai

codeant-ai Bot commented Aug 9, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 6cf7c57 Aug 09, 2026 · 03:08 03:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codeant-ai

codeant-ai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:S This PR changes 10-29 lines, ignoring generated files label Aug 9, 2026
@KooshaPari
KooshaPari merged commit 4a626f4 into main Aug 9, 2026
13 of 17 checks passed
@KooshaPari
KooshaPari deleted the chore/wbs-round22-20260808 branch August 9, 2026 03:08
@sonarqubecloud

sonarqubecloud Bot commented Aug 9, 2026

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread pyproject.toml
license = { text = "MIT" }

[tool.hatch.build.targets.wheel]
packages = ["src"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Comment thread pyproject.toml
version = "0.1.0"
description = "Phenotype fleet module"
requires-python = ">=3.10"
license = { text = "MIT" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Comment thread pyproject.toml
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@kilo-code-bot

kilo-code-bot Bot commented Aug 9, 2026

Copy link
Copy Markdown

Code Review Summary

Status: 1 Warning Found | Recommendation: Request Changes

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
pyproject.toml 5 Missing dependencies in [project] — the package imports httpx but doesn't declare it
Files Reviewed (1 file)
  • pyproject.toml — 1 warning

Fix these issues in Kilo Cloud


Reviewed by step-3.7-flash · Input: 87.4K · Output: 23.8K · Cached: 557.6K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants