-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (85 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
107 lines (85 loc) · 2.39 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
[build-system]
requires = [
"setuptools >= 61.0",
"wheel",
"setuptools-git-versioning",
]
build-backend = "setuptools.build_meta"
[project]
name = "graph_structure_learning"
dynamic = ["version"]
authors = [
{ name = "William Cappelletti", email = "william.cappelletti@epfl.ch" },
]
description = "Extracting graphs from signals on nodes"
keywords = [
"machine learning",
"graph",
"network",
"signal processing",
"clustering",
"time series",
]
readme = "README.md"
license = { text = "BSD-3-Clause" }
requires-python = ">=3.10"
dependencies = [
"numpy<=2.1",
"scikit-learn",
"tqdm",
"pandas",
]
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.optional-dependencies]
dev = ["pylint", "pytest", "black", "isort"]
build = ["build", "twine"]
[project.urls]
Homepage = "https://github.com/LTS4/graph-learning"
Issues = "https://github.com/LTS4/graph-learning/issues"
[tool.setuptools.packages]
find = {} # Scan the project directory with the default parameters
[tool.setuptools-git-versioning]
enabled = true
[tool.pylint]
[tool.pylint.master]
docstring-min-length = 5
[tool.pylint.format]
max-line-length = 100
[tool.pylint.basic]
good-names = ['f', 'N', 'n', 'i', 'j', 'k', 'df', 'ax', 'ex', 'lr', 'Run', '_']
good-names-rgxs = ['x(\d*|_[\w\d]*)', 'X(\d*|_[\w\d]*)', 'y(\d*|_[\w\d]*)']
no-docstring-rgx = '^_|^fit$'
[tool.pylint.typecheck]
# List of members which are set dynamically and missed by Pylint inference
# system, and so shouldn't trigger E1101 when accessed.
generated-members = ['numpy.*', 'scipy.*', 'sklearn.*']
[tool.pylint.similarities]
min-similarity-lines = 4
ignore-imports = true
ignore-signatures = true
[tool.pylint.design]
max-attributes = 30
max-locals = 25
max-args = 30
[tool.pylint.message_control]
disable = [
"no-else-break",
"no-else-continue",
"no-else-raise",
"no-else-return",
]
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
extend_skip_glob = ["env/*"]