[PR #4] [CLOSED] chore: add pre-commit-config and apply format. #77

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/4
Author: @laipz8200
Created: 12/4/2024
Status: Closed

Base: mainHead: feat/add-pre-commit-config


📝 Commits (1)

  • d69e536 chore: add pre-commit-config and apply format.

📊 Changes

11 files changed (+29 additions, -21 deletions)

View changed files

.pre-commit-config.yaml (+10 -0)
📝 python/dify_plugin/core/plugin_executor.py (+12 -12)
📝 python/dify_plugin/core/plugin_registration.py (+0 -1)
📝 python/dify_plugin/core/server/tcp/request_reader.py (+0 -1)
📝 python/dify_plugin/interfaces/model/large_language_model.py (+1 -0)
📝 python/dify_plugin/interfaces/model/openai_compatible/speech2text.py (+1 -1)
📝 python/dify_plugin/interfaces/model/openai_compatible/text_embedding.py (+1 -1)
📝 python/dify_plugin/interfaces/tool/__init__.py (+1 -2)
📝 python/examples/code_based_workflow/main.py (+1 -1)
📝 python/examples/google/main.py (+1 -1)
📝 python/examples/jina/main.py (+1 -1)

📄 Description

It can be used after

brew install pre-commit
pre-commit install

then the format will run automatically when use git commit


🔄 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/4 **Author:** [@laipz8200](https://github.com/laipz8200) **Created:** 12/4/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/add-pre-commit-config` --- ### 📝 Commits (1) - [`d69e536`](https://github.com/langgenius/dify-plugin-sdks/commit/d69e536bf04a827edfa5c7f700b921591a0681e5) chore: add pre-commit-config and apply format. ### 📊 Changes **11 files changed** (+29 additions, -21 deletions) <details> <summary>View changed files</summary> ➕ `.pre-commit-config.yaml` (+10 -0) 📝 `python/dify_plugin/core/plugin_executor.py` (+12 -12) 📝 `python/dify_plugin/core/plugin_registration.py` (+0 -1) 📝 `python/dify_plugin/core/server/tcp/request_reader.py` (+0 -1) 📝 `python/dify_plugin/interfaces/model/large_language_model.py` (+1 -0) 📝 `python/dify_plugin/interfaces/model/openai_compatible/speech2text.py` (+1 -1) 📝 `python/dify_plugin/interfaces/model/openai_compatible/text_embedding.py` (+1 -1) 📝 `python/dify_plugin/interfaces/tool/__init__.py` (+1 -2) 📝 `python/examples/code_based_workflow/main.py` (+1 -1) 📝 `python/examples/google/main.py` (+1 -1) 📝 `python/examples/jina/main.py` (+1 -1) </details> ### 📄 Description It can be used after ```bash brew install pre-commit pre-commit install ``` then the format will run automatically when use `git commit` --- <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:39 -05:00
yindo closed this issue 2026-02-15 21:15:39 -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#77