aboutsummaryrefslogtreecommitdiff
path: root/python/pyproject.toml
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2025-10-14 20:48:03 +0100
committertslil <tslil@posteo.de>2025-10-14 23:28:08 +0100
commit1376a23bda5e6fe94148cb57ca1447907c6bb21e (patch)
treeab158829b82af934837b9c63825de2af001ee9ea /python/pyproject.toml
parent723393e8921e2832123b78aa3dec2f87f96b2f74 (diff)
Sketching the implementation of the monad and selections
Diffstat (limited to 'python/pyproject.toml')
-rw-r--r--python/pyproject.toml44
1 files changed, 44 insertions, 0 deletions
diff --git a/python/pyproject.toml b/python/pyproject.toml
new file mode 100644
index 0000000..4b46e0f
--- /dev/null
+++ b/python/pyproject.toml
@@ -0,0 +1,44 @@
+[project]
+name = "rprt"
+version = "0.1.0"
+description = "Python implementation of the RPRT text editing language"
+requires-python = ">=3.12"
+license = {text = "GPL-3.0"}
+authors = [{name = "tslil clingman"}]
+dependencies = []
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build.targets.wheel]
+packages = ["src"]
+
+[tool.pytest.ini_options]
+testpaths = ["tests"]
+pythonpath = ["src"]
+addopts = ["--cov=libpam", "--cov-report=term-missing"]
+
+[dependency-groups]
+dev = [
+ "pyright>=1.1.406",
+ "pytest>=8.4.2",
+ "pytest-cov>=7.0.0",
+ "ruff>=0.8.0",
+ "vulture>=2.14",
+]
+
+[tool.ruff]
+line-length = 100
+
+[tool.ruff.lint]
+select = [
+ "E", # pycodestyle errors
+ "W", # pycodestyle warnings
+ "F", # pyflakes
+ "I", # isort (import sorting)
+]
+
+[tool.ruff.lint.isort]
+force-single-line = false
+lines-after-imports = 2