improve: introduce isort for linting Python imports (#1983)

This commit is contained in:
Bowen Liang 2024-01-12 12:34:01 +08:00 • committed by GitHub
commit cc9e74123c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
413 changed files with 1635 additions and 1906 deletions

View file

@ -4,10 +4,9 @@ from typing import List
import click
from celery import shared_task
from core.index.index import IndexBuilder
from extensions.ext_database import db
from models.dataset import DocumentSegment, Dataset, Document
from models.dataset import Dataset, Document, DocumentSegment
@shared_task(queue='dataset')