-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
123 lines (106 loc) · 2.53 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
[build-system]
requires = ['setuptools>=40.8.0']
build-backend = 'setuptools.build_meta'
[tool.setuptools.packages.find]
where = ["."]
[project]
name = "l2gv2"
version = "0.1.0"
authors = [
]
description = "Infer global embeddings from local graph embeddings trained in parallel"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD 3-Clause License",
"Operating System :: OS Independent",
]
dependencies = [
"autograd ~= 1.7",
"geotorch",
"ilupp == 1.0.*",
"networkx>=2.0",
"numba",
"numpy",
"polars",
"pymanopt ~= 2.2",
"pymetis",
"python-louvain == 0.16", # imported as 'community'
"raphtory",
"scikit-learn",
"scipy",
"torch>=2.5",
"torch-geometric>=2.6",
"tqdm >= 4",
"umap-learn"
]
[project.optional-dependencies]
dev = [
"pytest >= 8",
"pytest-cov",
"pytest-xdist",
"pylint",
]
docs = [
"Sphinx == 8.*",
"sphinx-markdown-builder==0.6.*",
"myst-parser >= 4",
"pydata-sphinx-theme"
]
[project.urls]
"Homepage" = "https://github.com/OxfordRSE/L2Gv2"
"Bug Tracker" = "https://github.com/OxfordRSE/L2Gv2/issues"
[tool.ruff]
exclude = ["examples"]
# pylint
# ######
[tool.pylint.'MASTER']
ignore = ["docs/*"]
[tool.pylint.'MESSAGES CONTROL']
notes = "TODO"
disable = [
"fixme",
"import-error",
"duplicate-code",
# handled by ruff and ruff-format
"line-too-long",
"trailing-whitespace",
"trailing-newlines",
"unused-import",
"missing-final-newline",
# style issues
"wrong-import-order",
"invalid-name", # matrix names are single caps, like X, Y ...
"logging-fstring-interpolation",
# code complexity
"too-many-arguments",
"too-many-positional-arguments",
"too-many-locals",
"too-many-branches",
"too-many-statements",
# documentation
"missing-function-docstring",
"missing-module-docstring",
# network timeouts
"missing-timeout",
# Abstract methods should be instantiated in derived classes
# See https://github.com/OxfordRSE/L2Gv2/issues/45
"abstract-method",
]
# pyright
# #######
[tool.pyright]
include = ["l2gv2"]
exclude = []
ignore = []
defineConstant = { DEBUG = true }
reportMissingImports = false
reportAttributeAccessIssue = false
reportOptionalMemberAccess = false
reportOptionalSubscript = false
reportGeneralTypeIssues = false
reportMissingTypeStubs = false
[tool.coverage.run]
omit = ["tests/*"]