forked from SynaLinks/synalinks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (114 loc) · 2.67 KB
/
pyproject.toml
File metadata and controls
128 lines (114 loc) · 2.67 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[project]
name = "synalinks"
description = "Graph-Based Programmable Neuro-Symbolic LM Framework"
readme = "README.md"
requires-python = ">=3.10"
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: Unix",
"Operating System :: MacOS",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
dependencies = [
"absl-py",
"asyncio",
"click",
"datasets",
"docstring-parser",
"fastmcp",
"graphviz",
"greenlet",
"inquirer",
"jinja2",
"jsonschema",
"litellm",
"matplotlib",
"mcp",
"namex",
"neo4j",
"numpy",
"openai",
"optree",
"pydantic",
"pydotplus",
"rich",
"tenacity",
]
[project.urls]
Homepage = "https://github.com/SynaLinks/synalinks"
Issues = "https://github.com/SynaLinks/synalinks/issues"
[project.scripts]
synalinks = "synalinks:magic_cli"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"*" = ["*.json"]
[tool.setuptools.dynamic]
version = {attr = "synalinks.src.version.__version__"}
[tool.setuptools.packages.find]
include = ["synalinks", "synalinks.*"]
[tool.ruff]
line-length = 90
[tool.ruff.lint]
select = [
"E", # pycodestyle error
"F", # Pyflakes
"I", # isort
]
ignore = [
"E722", # do not use bare 'except'
"E741", # ambiguous variable name
"E731", # do not assign a `lambda` expression, use a `def`
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["E501", "F401"] # lines too long; imported but unused
"**/random.py" = ["F401"] # imported but unused
"examples/*" = ["I", "E"]
"notebooks/*" = ["I", "E", "F"]
"*/cli/*" = ["I", "E", "F"]
[tool.ruff.lint.isort]
force-single-line = true
known-first-party = ["synalinks"]
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore::ImportWarning",
"ignore::RuntimeWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
"ignore::UserWarning",
]
addopts = "--cov-report xml --cov=synalinks -v"
# Do not run tests in the `build` folders
norecursedirs = ["build"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@abstract",
"raise NotImplementedError",
]
omit = [
"*/__init__.py",
"*/plot_*.py",
"*/*_visualization.py",
"*/cli/*",
"*/async_utils.py",
]
[tool.coverage.run]
branch = true
omit = [
"*/__init__.py",
"*/cli/*",
"*/async_utils.py",
]