This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
generated from SauravMaheshkar/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (90 loc) Β· 2.34 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
description = "Python Framework based on PyG for working with Graph Neural Networks"
name = "hivegraph"
version = "0.0.2"
authors = [{ name = "Saurav Maheshkar", email = "sauravvmaheshkar@gmail.com" }]
readme = "docs/README.md"
requires-python = ">=3.8"
keywords = [
"deep-learning",
"pytorch",
"geometric-deep-learning",
"graph-neural-networks",
"graph-convolutional-networks",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"iterative-stratification",
"ml-collections",
"numpy",
"rich",
"scipy>=1.10.0",
"torch>=2.0.0",
"torch-geometric",
"torchmetrics",
"wandb>=0.13.6",
]
[project.optional-dependencies]
test = ["pytest"]
dev = ["hivegraph[test]", "black", "mypy>=0.900", "pre-commit>=2.18.0", "ruff"]
docs = ["sphinx"]
[project.urls]
homepage = "https://github.com/SauravMaheshkar/hivegraph"
repository = "https://github.com/SauravMaheshkar/hivegraph"
[tool.flit.module]
name = "hivegraph"
[tool.isort]
profile = "black"
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["W605"]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.ruff.lint.pycodestyle]
max-doc-length = 300
[tool.pylint.messages_control]
disable = [
"no-member",
"too-many-arguments",
"too-few-public-methods",
"no-else-return",
"duplicate-code",
"too-many-branches",
"redefined-builtin",
"dangerous-default-value",
]
[tool.pylint.format]
max-line-length = 88
[tool.mypy]
disable_error_code = "attr-defined"
[[tool.mypy.overrides]]
module = [
"absl.*",
"hivegraph.*",
"torch_geometric.*",
"ml_collections.*",
"sklearn.model_selection",
"iterstrat.ml_stratifiers",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = "."
testpaths = ["tests"]
filterwarnings = ["ignore::DeprecationWarning", "ignore::UserWarning"]
markers = ["io: Tests that perform IO operations."]