-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (79 loc) · 1.78 KB
/
pyproject.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "ponderosa"
version = "0.5.1"
description = ""
authors = ["Camille Scott <[email protected]>"]
readme = "README.md"
license = "BSD-3-Clause"
homepage = "https://github.com/camillescott/ponderosa"
classifiers = [
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: User Interfaces"
]
[tool.poetry_bumpversion.file."ponderosa/__init__.py"]
search = "__version__ = '{current_version}'"
replace = "__version__ = '{new_version}'"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ipython = "^8.26.0"
pytest = "^8.3.3"
pdbpp = "^0.10.3"
[tool.poetry.group.tests.dependencies]
pytest = "^8.3.3"
pytest-cov = "^6.0.0"
tox = "^4.23.2"
tox-gh-actions = "^3.2.0"
[tool.poetry.dependencies]
python = "^3.12"
rich = {version = "^13.9.4", optional = true}
[tool.poetry.extras]
rich = ["rich"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.report]
exclude_lines = [
"pragma: not covered",
"@overload",
]
[tool.coverage.run]
branch = true
relative_files = true
omit = [
".tox/*",
"tests/*",
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = """
--doctest-modules \
--cov=./ \
--cov-append \
--cov-report html:tests/reports/coverage-html \
--cov-report xml:tests/reports/coverage.xml \
--ignore=docs/
"""
testpaths = [
"tests",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py312, py313
skip_missing_interpreters = true
[gh-actions]
python =
3.12: py312
3.13: py313
[testenv]
passenv = GITHUB_*
allowlist_externals = poetry
commands =
poetry run pytest
poetry run coverage report
"""