Skip to content

Consolidate instruction classes into single module #61

@TravisBumgarner

Description

@TravisBumgarner

Description

Currently instructions are split across two files:

  • SimpleInstruction.py - Instructions without arguments
  • InstructionWithArguments.py - Instructions with arguments

This separation is arbitrary and makes the code harder to navigate. Consolidate into a single instructions.py file.

Files to Merge

  • instruction/SimpleInstruction.py
  • instruction/InstructionWithArguments.py

Target

  • instruction/instructions.py (new file)

Acceptance Criteria

  • Create new instruction/instructions.py with all instruction classes
  • Use consistent base class pattern for all instructions
  • Delete SimpleInstruction.py and InstructionWithArguments.py
  • Update instruction/__init__.py exports
  • All imports throughout codebase updated
  • All existing tests pass

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions