refactor: use slots and strongly typed properties

This commit is contained in:
2026-04-20 10:48:58 +02:00
parent fc7d3cb0e8
commit 5fb10ffb9d
10 changed files with 161 additions and 91 deletions
+1 -1
View File
@@ -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"