aboutsummaryrefslogtreecommitdiff
path: root/python/pyproject.toml
blob: 4b46e0fb8ba16f5a9719f7a10783b32758f33ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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