[PR #14] apply style checks for python code #14

Open
opened 2026-02-16 09:24:49 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-agentbox/pull/14
Author: @bowenliang123
Created: 1/26/2026
Status: 🔄 Open

Base: mainHead: python-style-check


📝 Commits (3)

  • 19f107a apply style checks for python code
  • 471250d apply style checks for python code
  • 0f57649 apply style checks for python code

📊 Changes

7 files changed (+281 additions, -216 deletions)

View changed files

📝 .github/workflows/style.yml (+4 -1)
.ruff.toml (+11 -0)
📝 agentbox_build/config.py (+1 -1)
📝 agentbox_build/renderer.py (+2 -2)
dev/reformat (+10 -0)
📝 pyproject.toml (+4 -2)
📝 uv.lock (+249 -210)

📄 Description

  • Add ruff for Python code reformatting and linting
  • fix warning: The tool.uv.dev-dependenciesfield (used inpyproject.toml) is deprecated and will be removed in a future release; use dependency-groups.dev instead warning

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-agentbox/pull/14 **Author:** [@bowenliang123](https://github.com/bowenliang123) **Created:** 1/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `python-style-check` --- ### 📝 Commits (3) - [`19f107a`](https://github.com/langgenius/dify-agentbox/commit/19f107abdcbd2926cfe1bdb29ec14471aac3a1a9) apply style checks for python code - [`471250d`](https://github.com/langgenius/dify-agentbox/commit/471250dcd21a20a0b42c21b4a9bcaf6371a7f716) apply style checks for python code - [`0f57649`](https://github.com/langgenius/dify-agentbox/commit/0f57649d00683c76daab2e1a743ebe80725e8683) apply style checks for python code ### 📊 Changes **7 files changed** (+281 additions, -216 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/style.yml` (+4 -1) ➕ `.ruff.toml` (+11 -0) 📝 `agentbox_build/config.py` (+1 -1) 📝 `agentbox_build/renderer.py` (+2 -2) ➕ `dev/reformat` (+10 -0) 📝 `pyproject.toml` (+4 -2) 📝 `uv.lock` (+249 -210) </details> ### 📄 Description - Add ruff for Python code reformatting and linting - fix `warning: The `tool.uv.dev-dependencies` field (used in `pyproject.toml`) is deprecated and will be removed in a future release; use `dependency-groups.dev` instead` warning --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 09:24:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-agentbox#14