-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (53 loc) · 1.22 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
[project]
name = "arclet-alconna-tools"
version = "0.7.10"
description = "Builtin Tools for Alconna"
authors = [
{name = "RF-Tar-Railt", email = "[email protected]"},
]
dependencies = [
"nepattern<1.0.0,>=0.7.3",
"arclet-alconna>=1.8.31",
]
requires-python = ">=3.9"
readme = "README.md"
license = {text = "MIT"}
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool]
[tool.pdm]
[tool.pdm.build]
includes = ["src/arclet"]
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.4.3",
"coverage>=7.3.2",
"rich>=13.6.0",
]
[tool.pdm.scripts]
test = "python test.py"
[tool.coverage.run]
branch = true
source = ["."]
omit = ["test.py"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# standard pragma
"pragma: no cover",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
"if (typing\\.)?TYPE_CHECKING( is True)?:",
"\\.\\.\\.",
"pass",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
# Don't complain overload method / functions
"@(typing\\.)?overload",
"def __repr__",
"def __str__",
"def __eq__",
"except ImportError:",
]