-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (82 loc) · 2.31 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (82 loc) · 2.31 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
[build-system]
requires = ["setuptools>=64.0", "setuptools-scm>=8", "versioningit"]
build-backend = "setuptools.build_meta"
[project]
name = "dartsort"
dynamic = ["version"]
authors = [{ name = "Charlie Windolf", email = "ciw2048@gmail.com" }]
description = "DARTsort"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"dredge-ephys",
"h5py",
"jaxtyping",
"kdepy",
"linear_operator",
"numba",
"numpy>=1.20;python_version<'3.13'",
"numpy>=2.0.0;python_version>='3.13'",
"opt-einsum",
"pandas",
"probeinterface",
"pydantic",
"pynapple",
"scipy>=1.13",
"scikit-learn",
"spikeinterface>=0.104.0",
"sympy",
"torch>=2.2",
"tqdm",
"typing-extensions",
]
[project.optional-dependencies]
doc = ["zensical", "mkdocstrings-python"]
test = ["pytest", "pytest-cov"]
vis = ["matplotlib", "seaborn", "matplotlib-venn"]
[project.urls]
"Homepage" = "https://github.com/cwindolf/dartsort"
"Bug Tracker" = "https://github.com/cwindolf/dartsort/issues"
[tool.setuptools.package-data]
"dartsort.pretrained" = ["*.pt", "*.npz", "*.npy"]
[tool.versioningit]
# use their defaults
[project.scripts]
"dartsort" = "dartsort.cli:dartsort_cli"
[tool.coverage.run]
source = ["dartsort"]
omit = ["*/vis/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--log-level=14 --durations=100"
filterwarnings = [
'ignore:The extractor is not serializable to file. The provenance will not be saved.:UserWarning',
]
[tool.black]
line-length = 88
include = 'src\/.*\.pyi?$|tests\/.*\.pyi?$'
[tool.ruff]
line-length = 88
[tool.ruff.lint]
extend-select = ["E", "F", "I", "N", "B", "SIM", "NPY", "RUF", "PTH", "PD", "FURB"]
ignore = ["F722", "N812", "SIM102", "SIM103", "SIM105", "SIM108", "SIM114", "E501", "N806", "N803", "N815", "RUF005", "SIM300", "C408", "TRY401"]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401", "F403"]
[tool.jupytext]
"formats" = "ipynb,py:percent"
[tool.ty.src]
include = ["src", "tests"]
[tool.basedpyright]
include = ["src", "tests"]
enableTypeIgnoreComments = true
typeCheckingMode = "standard"
[tool.ty.analysis]
replace-imports-with-any = ["hdbscan"]
[tool.ty.rules]
"unsupported-base" = "ignore"
"possibly-unresolved-reference" = "error"