mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-24 21:15:37 -04:00
9e084d7d09
* 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.
19 lines
249 B
INI
19 lines
249 B
INI
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.{yml,yaml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|