mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 10:40:06 +01:00
Flake8 formatting
This commit is contained in:
@@ -36,8 +36,8 @@ class ImmediateOperand(Operand):
|
||||
return self._imd_type
|
||||
|
||||
@imd_type.setter
|
||||
def imd_type(self, type):
|
||||
self._imd_type = imd_type
|
||||
def imd_type(self, itype):
|
||||
self._imd_type = itype
|
||||
|
||||
@identifier.setter
|
||||
def identifier(self, identifier):
|
||||
|
||||
@@ -12,7 +12,6 @@ from osaca.parser.register import RegisterOperand
|
||||
from osaca.parser.identifier import IdentifierOperand
|
||||
from osaca.parser.immediate import ImmediateOperand
|
||||
from osaca.parser.condition import ConditionOperand
|
||||
from osaca.parser.flag import FlagOperand
|
||||
from osaca.parser.prefetch import PrefetchOperand
|
||||
|
||||
|
||||
|
||||
@@ -7,14 +7,12 @@ import pyparsing as pp
|
||||
|
||||
from osaca.parser import BaseParser
|
||||
from osaca.parser.instruction_form import InstructionForm
|
||||
from osaca.parser.operand import Operand
|
||||
from osaca.parser.directive import DirectiveOperand
|
||||
from osaca.parser.memory import MemoryOperand
|
||||
from osaca.parser.label import LabelOperand
|
||||
from osaca.parser.register import RegisterOperand
|
||||
from osaca.parser.identifier import IdentifierOperand
|
||||
from osaca.parser.immediate import ImmediateOperand
|
||||
from osaca.parser.flag import FlagOperand
|
||||
|
||||
|
||||
class ParserX86ATT(BaseParser):
|
||||
|
||||
@@ -11,7 +11,6 @@ from pathlib import Path
|
||||
|
||||
import ruamel.yaml
|
||||
from osaca import __version__, utils
|
||||
from copy import deepcopy
|
||||
from osaca.parser import ParserX86ATT
|
||||
from osaca.parser.instruction_form import InstructionForm
|
||||
from osaca.parser.operand import Operand
|
||||
|
||||
@@ -12,7 +12,6 @@ from osaca.semantics import INSTR_FLAGS, ArchSemantics, MachineModel
|
||||
from osaca.parser.memory import MemoryOperand
|
||||
from osaca.parser.register import RegisterOperand
|
||||
from osaca.parser.immediate import ImmediateOperand
|
||||
from osaca.parser.operand import Operand
|
||||
from osaca.parser.flag import FlagOperand
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user