-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (98 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
111 lines (98 loc) · 2.49 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[project]
name = "cynetdiff"
version = "0.1.18" # TODO switch to dynamic versioning
description = "A fast network diffusion library"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
readme = "README.md"
maintainers = [
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Mathematics",
"Intended Audience :: Science/Research",
]
[project.urls]
homepage = "https://github.com/eliotwrobson/CyNetDiff"
tracker = "https://github.com/eliotwrobson/CyNetDiff/issues"
documentation = "https://eliotwrobson.github.io/CyNetDiff/"
[dependency-groups]
build = [
"setuptools",
"meson-python>=0.18.0",
"ninja>=1.8.2",
"cython",
"numpy~=2.0.0",
"cibuildwheel>=2.0.0",
"pythran",
"pybind11",
]
test = [
"pytest",
"ndlib~=5.1.1",
"networkx~=3.2.1",
"numpy~=2.0.0",
"pytest-benchmark~=5.1.0",
]
lint = [
"mypy~=1.7.1",
"networkx~=3.2.1",
"numpy~=2.0.0",
"ruff~=0.11.13",
"pandas-stubs~=2.2.0.240218",
"types-tqdm~=4.66.0.20240106",
"cython-lint~=0.16.2",
"pytest~=8.3.4",
"coloraide~=3.1.2",
]
docs = [
"mkdocs~=1.6.1",
"mkdocs-material~=9.6.14",
"mkdocs-macros-plugin~=1.3.7",
"mkdocstrings~=0.29.1",
"mkdocstrings-python~=1.16.12",
"setuptools~=69.0.3",
]
[tool.pdm.options]
install = ["--no-isolation"]
[build-system]
build-backend = "mesonpy"
requires = ["meson-python>=0.18.0", "cython", "numpy~=2.0.0", "ninja>=1.8.2"]
[tool.cibuildwheel]
build = "cp310-* cp311-* cp312-* cp313-*"
build-frontend = "build[uv]"
test-requires = "pytest networkx numpy"
test-command = "pytest {project}/tests"
### Start of static analyis tools ###
[tool.mypy]
python_version = "3.13"
[[tool.mypy.overrides]]
module = ["networkx.*", "Cython.*", "ndlib.*", "pooch.*", "matplotlib.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = "tests"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# flake8-bugbear
"B",
# isort
"I",
# pep8-naming
"N",
]
[tool.cython-lint]
max-line-length = 120