Compare commits
No commits in common. "c1e4156f3c99ba153bc62c7f988fe1e432a95150" and "c47ee376bdd59c707953e454b0dc4ecdd0a79fb1" have entirely different histories.
c1e4156f3c
...
c47ee376bd
3 changed files with 3 additions and 11 deletions
|
|
@ -15,7 +15,7 @@ class ConfigBase(object):
|
||||||
self.doom.joinpath(self.config_name)).read()
|
self.doom.joinpath(self.config_name)).read()
|
||||||
|
|
||||||
self._dsda = self._config.get("dsda")
|
self._dsda = self._config.get("dsda")
|
||||||
if self._dsda is None:
|
if self.dsda is None:
|
||||||
raise Exception(
|
raise Exception(
|
||||||
"required key 'dsda' not set in config "
|
"required key 'dsda' not set in config "
|
||||||
+ f"{self.doom.joinpath(self.config_name)}.")
|
+ f"{self.doom.joinpath(self.config_name)}.")
|
||||||
|
|
@ -37,7 +37,7 @@ class ConfigBase(object):
|
||||||
propname = "_".join(what)
|
propname = "_".join(what)
|
||||||
val = self._config
|
val = self._config
|
||||||
for w in what:
|
for w in what:
|
||||||
val = val.get(w)
|
val = val[w]
|
||||||
if val is None:
|
if val is None:
|
||||||
val = default
|
val = default
|
||||||
break
|
break
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,6 @@ class Extract(dcc.doom_base.Wad):
|
||||||
)
|
)
|
||||||
|
|
||||||
print(
|
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}"
|
+ f"{parsed_args.wad}"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,6 @@ dependencies = [
|
||||||
"omgifol (>=0.5.1,<0.6.0)",
|
"omgifol (>=0.5.1,<0.6.0)",
|
||||||
"tomlkit (>=0.13.3,<0.14.0)",
|
"tomlkit (>=0.13.3,<0.14.0)",
|
||||||
"wand (>=0.6.13,<0.7.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]
|
[tool.poetry-pyinstaller-plugin.collect]
|
||||||
all = ["cliff"]
|
all = ["cliff"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
|
||||||
testpaths = [
|
|
||||||
"tests",
|
|
||||||
]
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue