-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (77 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
93 lines (77 loc) · 2.17 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "nx-vis-visualizer"
version = "0.2.0"
description = "A Python wrapper for rendering NetworkX graphs interactively using vis.js."
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
keywords = ["networkx", "vis.js", "graph", "visualization", "interactive"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
# The "License :: ..." classifier is no longer needed with the above key.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"networkx>=3.5",
]
[project.optional-dependencies]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.6.14",
]
dev = [
"nx-vis-visualizer",
"mypy>=1.16.0",
"pre-commit>=4.2.0",
"pytest>=8.4.0",
"pytest-cov>=6.1.1",
"ruff>=0.11.12",
"types-networkx>=3.5.0.20250531",
]
notebook = [
"ipython>=9.3.0",
]
[tool.setuptools]
packages = {find = {where = ["src"]}}
[tool.setuptools.package-data]
"nx_vis_visualizer" = ["*.html", "*.css"]
[tool.ruff]
line-length = 80
lint.select = ["E", "W", "F", "I", "UP", "C4", "B", "A", "RUF"]
lint.ignore = ["E501"] # Handled by formatter
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
strict_equality = true
disallow_subclassing_any = true
disallow_untyped_decorators = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_reexport = true
warn_unreachable = true
ignore_missing_imports = true
files = ["src/nx_vis_visualizer", "tests", "examples"]
[tool.uv.sources]
nx-vis-visualizer = { workspace = true }
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true