[PR #70] [MERGED] feat(python): Enable Ruff ruleset (RUF), disable preview mode #120

Closed
opened 2026-02-15 21:15:51 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/70
Author: @QuantumGhost
Created: 3/24/2025
Status: Merged
Merged: 3/25/2025
Merged by: @Yeuoly

Base: mainHead: feat/ruff


📝 Commits (3)

  • 8742579 feat(python): Enable Ruff ruleset (RUF)
  • b23cfdb feat(python): disable preview mode in Ruff
  • 4cb0f16 chore(python): disable deprecated UP038 rule in Ruff

📊 Changes

6 files changed (+25 additions, -6 deletions)

View changed files

📝 python/.ruff.toml (+15 -1)
📝 python/dify_plugin/core/utils/yaml_loader.py (+1 -1)
📝 python/dify_plugin/interfaces/agent/__init__.py (+2 -0)
📝 python/dify_plugin/interfaces/model/openai_compatible/llm.py (+2 -2)
📝 python/examples/agent/output_parser/cot_output_parser.py (+1 -1)
📝 python/examples/agent/strategies/ReAct.py (+4 -1)

📄 Description

No description provided


🔄 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-plugin-sdks/pull/70 **Author:** [@QuantumGhost](https://github.com/QuantumGhost) **Created:** 3/24/2025 **Status:** ✅ Merged **Merged:** 3/25/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/ruff` --- ### 📝 Commits (3) - [`8742579`](https://github.com/langgenius/dify-plugin-sdks/commit/87425799bfc551ec1b7f7229474b72f8a7525cbf) feat(python): Enable Ruff ruleset (RUF) - [`b23cfdb`](https://github.com/langgenius/dify-plugin-sdks/commit/b23cfdb9dc581538f27f213dc169c7d57d04a508) feat(python): disable preview mode in Ruff - [`4cb0f16`](https://github.com/langgenius/dify-plugin-sdks/commit/4cb0f16b6528893cd10cd1f18cd3c36b6be2d96d) chore(python): disable deprecated UP038 rule in Ruff ### 📊 Changes **6 files changed** (+25 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `python/.ruff.toml` (+15 -1) 📝 `python/dify_plugin/core/utils/yaml_loader.py` (+1 -1) 📝 `python/dify_plugin/interfaces/agent/__init__.py` (+2 -0) 📝 `python/dify_plugin/interfaces/model/openai_compatible/llm.py` (+2 -2) 📝 `python/examples/agent/output_parser/cot_output_parser.py` (+1 -1) 📝 `python/examples/agent/strategies/ReAct.py` (+4 -1) </details> ### 📄 Description _No description provided_ --- <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-15 21:15:51 -05:00
yindo closed this issue 2026-02-15 21:15:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#120