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

@ -1,6 +1,5 @@
# -*- coding:utf-8 -*-
from flask import Blueprint
from libs.external_api import ExternalApi
bp = Blueprint('files', __name__)

View file

@ -1,12 +1,11 @@
from flask import request, Response
from flask_restful import Resource
from werkzeug.exceptions import NotFound
import services
from controllers.files import api
from flask import Response, request
from flask_restful import Resource
from libs.exception import BaseHTTPException
from services.file_service import FileService
from services.account_service import TenantService
from services.file_service import FileService
from werkzeug.exceptions import NotFound
class ImagePreviewApi(Resource):