From 3dad9557408b0d9a4b5dabe5be94e8d5933573a8 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 30 Dec 2022 09:18:08 +0000 Subject: [PATCH] Group imports from same package --- orochi/website/management/commands/plugins_sync.py | 2 +- orochi/ya/schema.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/orochi/website/management/commands/plugins_sync.py b/orochi/website/management/commands/plugins_sync.py index 357914bd..9b2c728d 100644 --- a/orochi/website/management/commands/plugins_sync.py +++ b/orochi/website/management/commands/plugins_sync.py @@ -1,10 +1,10 @@ from django.core.management.base import BaseCommand +from django.contrib.auth import get_user_model import volatility3.plugins from volatility3 import framework from volatility3.framework import contexts from orochi.website.models import Plugin, UserPlugin, Dump, Result -from django.contrib.auth import get_user_model class Command(BaseCommand): diff --git a/orochi/ya/schema.py b/orochi/ya/schema.py index 5d60a145..f64a61d0 100644 --- a/orochi/ya/schema.py +++ b/orochi/ya/schema.py @@ -3,8 +3,8 @@ from luqum.elasticsearch import SchemaAnalyzer, ElasticsearchQueryBuilder from luqum.exceptions import ParseSyntaxError from elasticsearch import Elasticsearch -from elasticsearch_dsl import Search from elasticsearch.exceptions import RequestError +from elasticsearch_dsl import Search from pathlib import Path from django.conf import settings