mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #70] [MERGED] feat(python): Enable Ruff ruleset (RUF), disable preview mode #120
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:feat/ruff📝 Commits (3)
8742579feat(python): Enable Ruff ruleset (RUF)b23cfdbfeat(python): disable preview mode in Ruff4cb0f16chore(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.