-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (72 loc) · 1.61 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kg-topology-toolbox"
version = "1.0.0"
authors = [
{name = "Alberto Cattaneo"},
{name = "Daniel Justus"},
{name = "Thomas Martynec"},
{name = "Stephen Bonner"},
]
description = "A Python toolbox for Knowledge Graph topology metrics."
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">=3.9"
dependencies = [
'numpy >= 1.24.4',
'pandas >= 2.0.3',
'scipy >= 1.10.1',
]
[project.optional-dependencies]
dev = [
'black',
'flake8',
'isort',
'mypy',
'pandas-stubs >= 2.0.3.230814',
'pytest >= 8.1.1',
'pytest-cov',
'sphinx >= 7.1.2',
'sphinx_rtd_theme',
'sphinx_autodoc_typehints',
'sphinx-automodapi',
'myst-parser',
]
[project.urls]
repository = "https://github.com/graphcore-research/kg-topology-toolbox"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests"]
namespaces = true
[tool.black]
target-version = ["py38", "py39", "py310", "py311"]
[tool.isort]
profile = "black"
[tool.mypy]
pretty = true
show_error_codes = true
strict = true
check_untyped_defs = true
plugins = ["numpy.typing.mypy_plugin"]
[[tool.mypy.overrides]]
module = "scipy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "setuptools.*"
ignore_missing_imports = true
[tool.pytest]
addopts = ["--no-cov-on-fail"]
[tool.pytest.ini_options]
pythonpath = [
"src"
]
[tool.coverage.report]
skip_covered = true
show_missing = true
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"assert False",
]