-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (74 loc) · 1.82 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "cev"
description = "comparative embedding visualization"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{ name = "Trevor Manz" },
{ name = "Fritz Lekschas" },
]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8,<3.12"
dependencies = [
"anywidget>=0.2.3",
"cev-metrics>=0.1.2",
"ipywidgets>=8.0.0",
"jinja2>=3.0.0",
"jupyter-scatter>=0.14.0",
"pandas>=1.0,<2.0",
"numpy>=1.0,<2.0",
"pyarrow",
"pooch>=1.3.0",
]
dynamic = ["version"]
[project.optional-dependencies]
notebooks = [
"pyarrow",
"fastparquet",
"matplotlib",
]
[project.scripts]
cev = "cev._cli:main"
[project.urls]
homepage = "https://github.com/OzetteTech/comparative-embedding-visualization"
[tool.hatch.build]
sources = ["src"]
[tool.hatch.version]
source = "vcs"
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
extend-select = [
"E", # style errors
"F", # flake
# "D", # pydocstyle
"I001", # isort
"UP", # pyupgrade
"RUF", # ruff-specific rules
]
ignore = ["E501"] # ignore line-length, enforced by black
# https://docs.pytest.org/en/latest/customize.html
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
filterwarnings = [
"ignore:Jupyter is migrating its paths:DeprecationWarning",
"ignore:Deprecated in traitlets 4.1, use the instance .metadata:DeprecationWarning",
]
[tool.uv]
dev-dependencies = [
"jupyterlab>=4.2.5",
"pytest>=8.3.3",
"ruff>=0.7.0",
]