From cf6ac16e273847109184a680bff3153237c033c7 Mon Sep 17 00:00:00 2001 From: yrriban Date: Fri, 19 Sep 2025 18:33:08 -0400 Subject: [PATCH] Add pillow to the project's dependencies. Also fix the relevant error message's formatting. --- dcc/extract.py | 2 +- pyproject.toml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dcc/extract.py b/dcc/extract.py index a61b446..447ffa9 100644 --- a/dcc/extract.py +++ b/dcc/extract.py @@ -40,6 +40,6 @@ class Extract(dcc.doom_base.Wad): ) print( - "Lump {parsed_args.lump} not found in any wad in " + f"Lump {parsed_args.lump} not found in any wad in " + f"{parsed_args.wad}" ) diff --git a/pyproject.toml b/pyproject.toml index 1970ebf..2692d05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,8 @@ 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)", ] @@ -31,3 +33,8 @@ dcc = { source = "dcc/main.py", type = "onefile" } [tool.poetry-pyinstaller-plugin.collect] all = ["cliff"] + +[tool.pytest.ini_options] +testpaths = [ + "tests", +]