Files
dify-plugin-sdks/python/pyproject.toml
T
QuantumGhost 9e084d7d09 feat(python): upgrade ruff to v0.11.2, integrate flake8-bandit ruleset for security linting (#65)
* chore(python): update .gitignore for Python SDK

Adjust .gitignore for Python SDK based on the templated generated by
gitignore.io, with minor custom modifications.

* chore: add .editorconfig for consistent formatting

Add a .editorconfig file to enforce consistent file encoding,
indentation, and end-of-line characters across the project.

* chore(python): upgrade ruff version to v0.11.2

* feat(python): Integrate flake8-bandit ruleset for security linting

Enable the flake8-bandit (S) ruleset in ruff to enforce security-related
best practices and mitigate potential vulnerabilities in the codebase.

Suppress existing issues in the current code using `noqa` comments, primarily for
instances of `requests` calls without a specified `timeout` parameter.
2025-03-24 18:00:14 +08:00

40 lines
838 B
TOML

[project]
name = "dify_plugin"
version = "0.0.1-beta74"
description = "Dify Plugin SDK"
authors = [{ name = "langgenius", email = "hello@dify.ai" }]
dependencies = [
"Flask~=3.0.3",
"Werkzeug~=3.0.3",
"dpkt~=1.9.8",
"gevent~=24.11.1",
"httpx~=0.27.0",
"pydantic_settings~=2.3.4",
"pydantic~=2.8.2",
"pydub~=0.25.1",
"pyyaml~=6.0.1",
"requests~=2.32.3",
"socksio==1.0.0",
"tiktoken~=0.8.0",
"yarl~=1.9.4",
]
requires-python = ">=3.11"
readme = "README.md"
license = { text = "Apache2.0" }
keywords = ["dify", "plugin", "sdk"]
[project.urls]
Homepage = "https://github.com/langgenius/dify-plugin-sdks.git"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[dependency-groups]
lint = ["ruff>=0.11.2"]
test = [
"pytest>=8.3.5",
]