-
Notifications
You must be signed in to change notification settings - Fork 44
/
pyproject.toml
66 lines (56 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
61
62
63
64
65
66
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "neuralpredictors"
version = "0.3.0"
description = "Sinz Lab Neural System Identification Utilities"
dependencies = [
"numpy>=1.20",
"torch",
"tqdm",
"pandas",
"h5py",
"scipy",
]
[[project.authors]]
name = "Sinz Lab"
email = "[email protected]"
[project.urls]
GitHub = "https://github.com/sinzlab/neuralpredictors"
[tool.setuptools]
packages = ["neuralpredictors"]
[tool.black]
line-length = 120
[tool.coverage.run]
branch = true
source = ["neuralpredictors"]
[tool.mypy]
python_version = "3.8"
files = ["neuralpredictors", "test"]
exclude = "old_\\w+\\.py$"
strict = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"h5py",
"scipy.signal",
"scipy.special",
"skimage.transform",
"torchvision",
"tqdm",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"neuralpredictors.layers.readouts.attention",
"neuralpredictors.layers.readouts.base",
"test.layers.cores.test_conv2d",
]
ignore_errors = false
[tool.isort]
profile = "black"