[PR #68] [MERGED] feat(python): Enforce FBT003 rule in ruff for boolean arguments #118

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

📋 Pull Request Information

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

Base: mainHead: feat/pycodestyle-w


📝 Commits (1)

  • b5e2b5e feat(python): Enforce FBT003 rule in ruff for boolean arguments

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 python/.ruff.toml (+6 -0)

📄 Description

Configure ruff to require boolean arguments to be passed as keyword arguments in function calls. This enhances code readability and clarity at call sites.


🔄 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/68 **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/pycodestyle-w` --- ### 📝 Commits (1) - [`b5e2b5e`](https://github.com/langgenius/dify-plugin-sdks/commit/b5e2b5ed92a8d2be9a15040b4b16438db6069dd8) feat(python): Enforce FBT003 rule in ruff for boolean arguments ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `python/.ruff.toml` (+6 -0) </details> ### 📄 Description Configure ruff to require boolean arguments to be passed as keyword arguments in function calls. This enhances code readability and clarity at call sites. --- <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:50 -05:00
yindo closed this issue 2026-02-15 21:15:50 -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#118