[PR #69] [MERGED] feat(python): Enable pycodestyle (W) warning ruleset with ruff #119

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/69
Author: @QuantumGhost
Created: 3/24/2025
Status: Merged
Merged: 3/24/2025
Merged by: @Yeuoly

Base: mainHead: feat/real-pycodestyle-w


📝 Commits (1)

  • 7a42496 feat(python): Enable pycodestyle (W) warning ruleset with ruff

📊 Changes

3 files changed (+7 additions, -3 deletions)

View changed files

📝 python/.ruff.toml (+4 -0)
📝 python/dify_plugin/entities/model/__init__.py (+1 -1)
📝 python/examples/agent/prompt/template.py (+2 -2)

📄 Description

Refactor codebase to fix pre-existing style issues flagged by the ruleset.


🔄 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/69 **Author:** [@QuantumGhost](https://github.com/QuantumGhost) **Created:** 3/24/2025 **Status:** ✅ Merged **Merged:** 3/24/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/real-pycodestyle-w` --- ### 📝 Commits (1) - [`7a42496`](https://github.com/langgenius/dify-plugin-sdks/commit/7a4249683f3108eafdf19b9e882d3858abe5d82f) feat(python): Enable pycodestyle (W) warning ruleset with ruff ### 📊 Changes **3 files changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `python/.ruff.toml` (+4 -0) 📝 `python/dify_plugin/entities/model/__init__.py` (+1 -1) 📝 `python/examples/agent/prompt/template.py` (+2 -2) </details> ### 📄 Description Refactor codebase to fix pre-existing style issues flagged by the ruleset. --- <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#119