-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/feat/plugins' into dev/plugin-de…
…ploy
- Loading branch information
Showing
285 changed files
with
8,039 additions
and
1,899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,6 +190,13 @@ docker compose up -d | |
##### Google Cloud | ||
- [Google Cloud Terraform بواسطة @sotazum](https://github.com/DeNA/dify-google-cloud-terraform) | ||
|
||
#### استخدام AWS CDK للنشر | ||
|
||
انشر Dify على AWS باستخدام [CDK](https://aws.amazon.com/cdk/) | ||
|
||
##### AWS | ||
- [AWS CDK بواسطة @KevinZhao](https://github.com/aws-samples/solution-for-deploying-dify-on-aws) | ||
|
||
## المساهمة | ||
|
||
لأولئك الذين يرغبون في المساهمة، انظر إلى [دليل المساهمة](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) لدينا. | ||
|
@@ -222,3 +229,10 @@ docker compose up -d | |
## الرخصة | ||
|
||
هذا المستودع متاح تحت [رخصة البرنامج الحر Dify](LICENSE)، والتي تعتبر بشكل أساسي Apache 2.0 مع بعض القيود الإضافية. | ||
## الكشف عن الأمان | ||
|
||
لحماية خصوصيتك، يرجى تجنب نشر مشكلات الأمان على GitHub. بدلاً من ذلك، أرسل أسئلتك إلى [email protected] وسنقدم لك إجابة أكثر تفصيلاً. | ||
|
||
## الرخصة | ||
|
||
هذا المستودع متاح تحت [رخصة البرنامج الحر Dify](LICENSE)، والتي تعتبر بشكل أساسي Apache 2.0 مع بعض القيود الإضافية. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -215,6 +215,13 @@ Despliega Dify en una plataforma en la nube con un solo clic utilizando [terrafo | |
##### Google Cloud | ||
- [Google Cloud Terraform por @sotazum](https://github.com/DeNA/dify-google-cloud-terraform) | ||
|
||
#### Usando AWS CDK para el Despliegue | ||
|
||
Despliegue Dify en AWS usando [CDK](https://aws.amazon.com/cdk/) | ||
|
||
##### AWS | ||
- [AWS CDK por @KevinZhao](https://github.com/aws-samples/solution-for-deploying-dify-on-aws) | ||
|
||
## Contribuir | ||
|
||
Para aquellos que deseen contribuir con código, consulten nuestra [Guía de contribución](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md). | ||
|
@@ -248,3 +255,10 @@ Para proteger tu privacidad, evita publicar problemas de seguridad en GitHub. En | |
## Licencia | ||
|
||
Este repositorio está disponible bajo la [Licencia de Código Abierto de Dify](LICENSE), que es esencialmente Apache 2.0 con algunas restricciones adicionales. | ||
## Divulgación de Seguridad | ||
|
||
Para proteger tu privacidad, evita publicar problemas de seguridad en GitHub. En su lugar, envía tus preguntas a [email protected] y te proporcionaremos una respuesta más detallada. | ||
|
||
## Licencia | ||
|
||
Este repositorio está disponible bajo la [Licencia de Código Abierto de Dify](LICENSE), que es esencialmente Apache 2.0 con algunas restricciones adicionales. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -213,6 +213,13 @@ Déployez Dify sur une plateforme cloud en un clic en utilisant [terraform](http | |
##### Google Cloud | ||
- [Google Cloud Terraform par @sotazum](https://github.com/DeNA/dify-google-cloud-terraform) | ||
|
||
#### Utilisation d'AWS CDK pour le déploiement | ||
|
||
Déployez Dify sur AWS en utilisant [CDK](https://aws.amazon.com/cdk/) | ||
|
||
##### AWS | ||
- [AWS CDK par @KevinZhao](https://github.com/aws-samples/solution-for-deploying-dify-on-aws) | ||
|
||
## Contribuer | ||
|
||
Pour ceux qui souhaitent contribuer du code, consultez notre [Guide de contribution](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md). | ||
|
@@ -246,3 +253,10 @@ Pour protéger votre vie privée, veuillez éviter de publier des problèmes de | |
## Licence | ||
|
||
Ce référentiel est disponible sous la [Licence open source Dify](LICENSE), qui est essentiellement l'Apache 2.0 avec quelques restrictions supplémentaires. | ||
## Divulgation de sécurité | ||
|
||
Pour protéger votre vie privée, veuillez éviter de publier des problèmes de sécurité sur GitHub. Au lieu de cela, envoyez vos questions à [email protected] et nous vous fournirons une réponse plus détaillée. | ||
|
||
## Licence | ||
|
||
Ce référentiel est disponible sous la [Licence open source Dify](LICENSE), qui est essentiellement l'Apache 2.0 avec quelques restrictions supplémentaires. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
exclude = [ | ||
"migrations/*", | ||
] | ||
line-length = 120 | ||
|
||
[format] | ||
quote-style = "double" | ||
|
||
[lint] | ||
preview = true | ||
select = [ | ||
"B", # flake8-bugbear rules | ||
"C4", # flake8-comprehensions | ||
"E", # pycodestyle E rules | ||
"F", # pyflakes rules | ||
"FURB", # refurb rules | ||
"I", # isort rules | ||
"N", # pep8-naming | ||
"PT", # flake8-pytest-style rules | ||
"PLC0208", # iteration-over-set | ||
"PLC2801", # unnecessary-dunder-call | ||
"PLC0414", # useless-import-alias | ||
"PLE0604", # invalid-all-object | ||
"PLE0605", # invalid-all-format | ||
"PLR0402", # manual-from-import | ||
"PLR1711", # useless-return | ||
"PLR1714", # repeated-equality-comparison | ||
"RUF013", # implicit-optional | ||
"RUF019", # unnecessary-key-check | ||
"RUF100", # unused-noqa | ||
"RUF101", # redirected-noqa | ||
"RUF200", # invalid-pyproject-toml | ||
"RUF022", # unsorted-dunder-all | ||
"S506", # unsafe-yaml-load | ||
"SIM", # flake8-simplify rules | ||
"TRY400", # error-instead-of-exception | ||
"TRY401", # verbose-log-message | ||
"UP", # pyupgrade rules | ||
"W191", # tab-indentation | ||
"W605", # invalid-escape-sequence | ||
] | ||
|
||
ignore = [ | ||
"E402", # module-import-not-at-top-of-file | ||
"E711", # none-comparison | ||
"E712", # true-false-comparison | ||
"E721", # type-comparison | ||
"E722", # bare-except | ||
"E731", # lambda-assignment | ||
"F821", # undefined-name | ||
"F841", # unused-variable | ||
"FURB113", # repeated-append | ||
"FURB152", # math-constant | ||
"UP007", # non-pep604-annotation | ||
"UP032", # f-string | ||
"B005", # strip-with-multi-characters | ||
"B006", # mutable-argument-default | ||
"B007", # unused-loop-control-variable | ||
"B026", # star-arg-unpacking-after-keyword-arg | ||
"B904", # raise-without-from-inside-except | ||
"B905", # zip-without-explicit-strict | ||
"N806", # non-lowercase-variable-in-function | ||
"N815", # mixed-case-variable-in-class-scope | ||
"PT011", # pytest-raises-too-broad | ||
"SIM102", # collapsible-if | ||
"SIM103", # needless-bool | ||
"SIM105", # suppressible-exception | ||
"SIM107", # return-in-try-except-finally | ||
"SIM108", # if-else-block-instead-of-if-exp | ||
"SIM113", # eumerate-for-loop | ||
"SIM117", # multiple-with-statements | ||
"SIM210", # if-expr-with-true-false | ||
"SIM300", # yoda-conditions, | ||
] | ||
|
||
[lint.per-file-ignores] | ||
"__init__.py" = [ | ||
"F401", # unused-import | ||
"F811", # redefined-while-unused | ||
] | ||
"configs/*" = [ | ||
"N802", # invalid-function-name | ||
] | ||
"libs/gmpy2_pkcs10aep_cipher.py" = [ | ||
"N803", # invalid-argument-name | ||
] | ||
"tests/*" = [ | ||
"F811", # redefined-while-unused | ||
"F401", # unused-import | ||
] | ||
|
||
[lint.pyflakes] | ||
extend-generics = [ | ||
"_pytest.monkeypatch", | ||
"tests.integration_tests", | ||
] |
Oops, something went wrong.