/
pyproject.toml
91 lines (84 loc) · 2.1 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
[tool.poetry]
name = "listless"
version = "0.2.0"
description = "generator utils; aka listless"
license = "MIT"
authors = ["jesse <jesse@dgi.com>"]
repository = "https://github.com/dynamic-graphics-inc/dgpy-libs"
homepage = "https://github.com/dynamic-graphics-inc/dgpy-libs/tree/main/libs/listless"
readme = 'README.md'
packages = [
{ include = "listless", from = "." },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
keywords = [
"generators",
"itertools",
"dgpy",
"typed",
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
pytest = "^8.2.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"-ra",
"--strict-config",
"--strict-markers",
"--doctest-modules",
"--disable-warnings",
"--ignore-glob=*/_meta.py",
]
xfail_strict = true
filterwarnings = [
"error",
'ignore:"@coroutine" decorator is deprecated since Python 3\.8, use "async def" instead:DeprecationWarning',
"ignore::RuntimeWarning",
"ignore::pytest.PytestUnraisableExceptionWarning",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"timeout",
]
[tool.coverage.run]
branch = true
source = ['listless']
omit = [
'_meta.py',
]
[tool.coverage.report]
precision = 2
show_missing = true
# Regexes for lines to exclude from consideration
exclude_lines = [
'@overload',
# Re-enable the standard pragma (with extra strictness)
'# pragma: no cover\b',
# Code for static type checkers
'if TYPE_CHECKING:',
# Scripts
'if __name__ == .__main__.:',
'if 0:',
'if sys.version_info < (3, 7):',
'if sys.version_info >= (3, 8):',
'pragma: no cover',
'pragma: nocov',
]
[tool.ruff]
extend = "../../pyproject.toml"