浏览代码

Update mypy.ini (#24014)

Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
tags/1.8.0
Yongtao Huang 2 个月前
父节点
当前提交
32fa817eaa
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 2 次插入3 次删除
  1. 0
    0
      api/events/document_index_event.py
  2. 1
    1
      api/events/event_handlers/create_document_index.py
  3. 1
    2
      api/mypy.ini

api/events/event_handlers/document_index_event.py → api/events/document_index_event.py 查看文件


+ 1
- 1
api/events/event_handlers/create_document_index.py 查看文件

@@ -5,7 +5,7 @@ import click
from werkzeug.exceptions import NotFound

from core.indexing_runner import DocumentIsPausedError, IndexingRunner
from events.event_handlers.document_index_event import document_index_created
from events.document_index_event import document_index_created
from extensions.ext_database import db
from libs.datetime_utils import naive_utc_now
from models.dataset import Document

+ 1
- 2
api/mypy.ini 查看文件

@@ -5,8 +5,7 @@ check_untyped_defs = True
cache_fine_grained = True
sqlite_cache = True
exclude = (?x)(
core/model_runtime/model_providers/
| tests/
tests/
| migrations/
)


正在加载...
取消
保存