mirror of
https://github.com/langgenius/dify.git
synced 2026-06-07 16:32:01 +08:00
20 lines
764 B
TOML
20 lines
764 B
TOML
extend = "../../.ruff.toml"
|
|
src = ["../.."]
|
|
|
|
[lint]
|
|
extend-select = ["ANN401", "TID251"]
|
|
|
|
[lint.per-file-ignores]
|
|
"**/*.py" = ["S110", "T201"]
|
|
"core/rag/pipeline/test_queue_integration.py" = ["ANN401", "TID251"]
|
|
"models/test_types_enum_text.py" = ["ANN401", "TID251"]
|
|
"services/test_app_dsl_service.py" = ["ANN401", "TID251"]
|
|
"services/test_file_service_zip_and_lookup.py" = ["ANN401", "TID251"]
|
|
"services/test_hit_testing_service.py" = ["ANN401", "TID251"]
|
|
"services/test_recommended_app_service.py" = ["ANN401", "TID251"]
|
|
"trigger/conftest.py" = ["ANN401", "TID251"]
|
|
"trigger/test_trigger_e2e.py" = ["ANN401", "TID251"]
|
|
|
|
[lint.flake8-tidy-imports.banned-api."typing.Any"]
|
|
msg = "Use object, Protocol, TypedDict, TypeVar, ParamSpec, or a localized cast instead."
|