From cec9df2fc325fe859505b5ff359768fc41f2675a Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Thu, 12 Feb 2026 19:42:14 -0500 Subject: [PATCH] Add pyproject.toml with dependencies and ruff config --- pyproject.toml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..748282c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,33 @@ +[project] +name = "playscii" +version = "9.18" +description = "ascii art and game creation tool" +requires-python = ">=3.12" +dependencies = [ + "appdirs", + "numpy", + "Pillow", + "PyOpenGL", + "PySDL2", + "packaging", +] + +[dependency-groups] +dev = [ + "ruff", + "pytest", +] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.ruff] +src = ["."] +line-length = 88 + +[tool.ruff.lint] +select = ["E", "F", "I", "UP", "B", "SIM"] + +[tool.pytest.ini_options] +testpaths = ["tests"]