refactor: use slots and strongly typed properties
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ from . import project
|
||||
__EPILOG = "(Each option can be supplied with equivalent environment variable.)"
|
||||
|
||||
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
@dataclasses.dataclass(frozen=True, slots=True)
|
||||
class Parameters:
|
||||
debug: bool = False
|
||||
data_dir: str = "./data"
|
||||
|
||||
Reference in New Issue
Block a user