Skip to content

Commit

Permalink
Fix isort errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mari-mari committed Jul 4, 2023
1 parent fbcfb6b commit 499e3e9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions decompiler/frontend/binaryninja/handlers/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@
IntegerType,
NamedTypeReferenceType,
PointerType,
StructureType,
StructureMember,
StructureType,
Type,
VoidType,
WideCharType,
)
from decompiler.frontend.lifter import Handler
from decompiler.structures.pseudo import CustomType, Float, FunctionTypeDef, Integer, Parameter, Pointer, UnknownType
from decompiler.structures.pseudo.typing import StructureType as PseudoStructureType, StructureMemberType as PseudoStructureMember
from decompiler.structures.pseudo.typing import StructureMemberType as PseudoStructureMember
from decompiler.structures.pseudo.typing import StructureType as PseudoStructureType


class TypeHandler(Handler):
Expand Down
2 changes: 1 addition & 1 deletion decompiler/frontend/binaryninja/lifter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from logging import warning
from typing import Optional, Tuple, Union

from binaryninja import MediumLevelILInstruction, Type, BinaryView
from binaryninja import BinaryView, MediumLevelILInstruction, Type
from decompiler.frontend.lifter import ObserverLifter
from decompiler.structures.pseudo import DataflowObject, Tag, UnknownExpression, UnknownType

Expand Down
4 changes: 2 additions & 2 deletions decompiler/pipeline/dataflowanalysis/type_propagation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
from collections import Counter, defaultdict
from enum import Enum
from itertools import chain
from logging import info, debug
from logging import debug, info
from typing import DefaultDict, Iterator, List, Set, Tuple

from decompiler.pipeline.stage import PipelineStage
from decompiler.structures.graphs.cfg import ControlFlowGraph
from decompiler.structures.pseudo.expressions import Expression, Variable
from decompiler.structures.pseudo.instructions import BaseAssignment, Instruction
from decompiler.structures.pseudo.typing import CustomType, Float, Integer, Pointer, Type, UnknownType, StructureType
from decompiler.structures.pseudo.typing import CustomType, Float, Integer, Pointer, StructureType, Type, UnknownType
from decompiler.task import DecompilerTask
from networkx import DiGraph, Graph, connected_components

Expand Down
2 changes: 1 addition & 1 deletion decompiler/structures/pseudo/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from decompiler.util.insertion_ordered_set import InsertionOrderedSet

from .expressions import Constant, Expression, FunctionSymbol, ImportedFunctionSymbol, IntrinsicSymbol, Symbol, Tag, Variable
from .typing import CustomType, Type, UnknownType, Pointer
from .typing import CustomType, Pointer, Type, UnknownType

T = TypeVar("T")

Expand Down
4 changes: 2 additions & 2 deletions decompiler/structures/pseudo/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from __future__ import annotations

from abc import ABC, abstractmethod
from dataclasses import dataclass, replace, field
from typing import Tuple, Dict
from dataclasses import dataclass, field, replace
from typing import Dict, Tuple


@dataclass(frozen=True, order=True)
Expand Down

0 comments on commit 499e3e9

Please sign in to comment.