-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
60 lines (49 loc) · 1.24 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
[project]
name = "spikeanalysis"
version = '0.1.0'
authors = [{name="Zach McKenzie", email="[email protected]"}]
description = "Analysis of Spike Trains"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Operating System :: OS Indepedent"
]
dependencies = [
"numpy",
"neo>=0.12.0",
"tqdm",
"scipy",
"matplotlib",
"pandas",
"numba",
]
[build-system]
requires = ["setuptools>=62.0"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"black",
]
[tool.setuptools.exclude-package-data]
spikeanalysis = ["**/test/*"]
[tool.black]
line-length = 120
[tool.pytest.ini_options]
pythonpath = [
"src/",
]
[tool.coverage.report]
exclude_also = [
"def __repr__",
]
[tool.coverage.run]
omit = [
"src/spikeanalysis/analysis_utils/*", # utils are all numba
"src/spikeanalysis/spike_plotter.py", # no testing for actual plotting yet
"src/spikeanalysis/intrinsic_plotter.py", # no testing for plotting yet
"src/spikeanalysis/plotting_functions.py", # no test for plotting yet
]