fixed config dataclass

This commit is contained in:
Anton Lydike 2021-04-17 20:57:21 +02:00
parent 9710ed9b8b
commit feaf432645

View File

@ -1,8 +1,9 @@
from dataclasses import dataclass
from typing import Optional
@dataclass()
@dataclass(frozen=True, init=True)
class RunConfig:
color = True
preffered_stack_size = None
debug_instruction = True
color: bool = True
preffered_stack_size: Optional[int] = None
debug_instruction: bool = True