-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
125 lines (111 loc) · 2.92 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "TopoEmbedX"
dynamic = ["version"]
authors = [
{name = "PyT-Team Authors", email = "[email protected]"}
]
readme = "README.md"
description = "Representation Learning on Topological Domains"
license = {file = "LICENSE.txt"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
requires-python = ">= 3.10"
dependencies=[
"numpy",
"karateclub @ git+https://github.com/benedekrozemberczki/karateclub@d35e05526455599688f1c4dd92e397cf92316ae4",
"networkx",
"pyrandwalk",
"scipy < 1.12", # scipy 1.12 removed scipy.errstate, which networkx < 3.0 depends on
"toponetx @ git+https://github.com/pyt-team/TopoNetX.git",
]
[project.optional-dependencies]
doc = [
"jupyter",
"matplotlib",
"nbsphinx",
"nbsphinx_link",
"numpydoc",
"sphinx",
"sphinx_gallery",
"pydata-sphinx-theme"
]
lint = [
"pre-commit",
"ruff"
]
test = [
"pytest",
"pytest-cov",
"coverage",
"jupyter",
"mypy"
]
dev = ["TopoEmbedX[test, lint]"]
all = ["TopoEmbedX[dev, doc]"]
[project.urls]
homepage="https://github.com/pyt-team/TopoEmbedX"
repository="https://github.com/pyt-team/TopoEmbedX"
[tool.ruff]
extend-include = ["*.ipynb"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"F", # pyflakes errors
"E", # code style
"W", # warnings
"I", # import order
"UP", # pyupgrade rules
"B", # bugbear rules
"PIE", # pie rules
"Q", # quote rules
"RET", # return rules
"SIM", # code simplifications
"NPY", # numpy rules
"PERF", # performance rules
"RUF", # miscellaneous rules
]
ignore = ["E501"] # line too long
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.setuptools.dynamic]
version = {attr = "topoembedx.__version__"}
[tool.setuptools.packages.find]
include = [
"topoembedx",
"topoembedx.*"
]
[tool.mypy]
warn_redundant_casts = true
warn_unused_ignores = true
show_error_codes = true
disable_error_code = ["import-untyped"]
plugins = "numpy.typing.mypy_plugin"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = [
"error",
"ignore::FutureWarning",
"ignore::scipy.sparse._base.SparseEfficiencyWarning",
]
log_cli_level = "info"
testpaths = ["test"]
[tool.coverage.report]
exclude_lines = ["pragma: not covered", "@overload"]