mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #4] [CLOSED] chore: add pre-commit-config and apply format. #77
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/4
Author: @laipz8200
Created: 12/4/2024
Status: ❌ Closed
Base:
main← Head:feat/add-pre-commit-config📝 Commits (1)
d69e536chore: 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
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.