Compare commits

..

No commits in common. "c1e4156f3c99ba153bc62c7f988fe1e432a95150" and "c47ee376bdd59c707953e454b0dc4ecdd0a79fb1" have entirely different histories.

3 changed files with 3 additions and 11 deletions

View file

@ -15,7 +15,7 @@ class ConfigBase(object):
self.doom.joinpath(self.config_name)).read()
self._dsda = self._config.get("dsda")
if self._dsda is None:
if self.dsda is None:
raise Exception(
"required key 'dsda' not set in config "
+ f"{self.doom.joinpath(self.config_name)}.")
@ -37,7 +37,7 @@ class ConfigBase(object):
propname = "_".join(what)
val = self._config
for w in what:
val = val.get(w)
val = val[w]
if val is None:
val = default
break

View file

@ -40,6 +40,6 @@ class Extract(dcc.doom_base.Wad):
)
print(
f"Lump {parsed_args.lump} not found in any wad in "
"Lump {parsed_args.lump} not found in any wad in "
+ f"{parsed_args.wad}"
)

View file

@ -16,9 +16,6 @@ dependencies = [
"omgifol (>=0.5.1,<0.6.0)",
"tomlkit (>=0.13.3,<0.14.0)",
"wand (>=0.6.13,<0.7.0)",
"pytest (>=8.4.2,<9.0.0)",
"pillow (>=11.3.0,<12.0.0)",
"pytest-mockito (>=0.0.4,<0.0.5)",
]
@ -34,8 +31,3 @@ dcc = { source = "dcc/main.py", type = "onefile" }
[tool.poetry-pyinstaller-plugin.collect]
all = ["cliff"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]