mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
improve: introduce isort for linting Python imports (#1983)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from datetime import timedelta
|
||||
|
||||
from celery import Task, Celery
|
||||
from celery import Celery, Task
|
||||
from flask import Flask
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from flask import Flask
|
||||
|
||||
from core.hosting_configuration import HostingConfiguration
|
||||
from flask import Flask
|
||||
|
||||
hosting_configuration = HostingConfiguration()
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import redis
|
||||
from redis.connection import SSLConnection, Connection
|
||||
from redis.connection import Connection, SSLConnection
|
||||
|
||||
redis_client = redis.Redis()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
import shutil
|
||||
from contextlib import closing
|
||||
from typing import Union, Generator
|
||||
from typing import Generator, Union
|
||||
|
||||
import boto3
|
||||
from botocore.exceptions import ClientError
|
||||
|
||||
Reference in New Issue
Block a user