forked from the-maldridge/python-vote-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (68 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
74 lines (68 loc) · 1.9 KB
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
[project]
name = "py-vote-core"
version = "2.0.0"
description = "An implementation of various election methods, most notably the Schulze Method and Schulze STV."
authors = [
{name = "Brad Beattie"}
]
license = {text = "GPLv3"}
readme = "README.md"
requires-python = ">=3.10"
keywords = ["library", "election"]
dependencies = [
"python-graph[dot] (>=2.0.0)"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
]
[project.urls]
Homepage = "https://github.com/VoteIT/python-vote-core"
Repository = "https://github.com/VoteIT/python-vote-core.git"
Issues = "https://github.com/VoteIT/python-vote-core/issues"
Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
[tool.poetry]
packages = [
{ include = "py3votecore" },
]
[tool.poetry.group.dev.dependencies]
coverage = "^7.9.0"
pytest = "^8.4.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--doctest-modules" # --maxfail=1
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ELLIPSIS",
]
testpaths = [
"test_functionality",
"test_performance",
]
[tool.coverage.run]
command_line = "-m pytest --doctest-modules"
source = ["py3votecore"]
[tool.coverage.report]
show_missing = true
skip_covered = true
skip_empty = true
exclude_also = [
'def __repr__',
'if self.debug:',
'raise AssertionError',
'raise NotImplementedError',
'if 0:',
'if __name__ == .__main__.:',
'if TYPE_CHECKING:',
'class .*\bProtocol\):',
'@(abc\.)?abstractmethod',
]