-
Notifications
You must be signed in to change notification settings - Fork 56
/
pyproject.toml
122 lines (105 loc) · 2.47 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[project]
name = "neuromaps"
description = "A toolbox for projecting, resampling, and comparing brain maps"
readme = "README.rst"
requires-python = ">=3.8"
license = {file = "LICENSE"}
keywords = ["network neuroscience", "brain maps", "annotated connectomes"]
authors = [
{name = "Network Neuroscience Lab", email = "[email protected]"},
]
maintainers = [
{name = "Network Neuroscience Lab", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only"
]
dependencies = [
"numpy >=1.14.0",
"scipy >=0.17",
"matplotlib >=3.5.0",
"scikit-learn",
"nibabel >=3.0.0",
"nilearn"
]
dynamic=["version"]
[project.optional-dependencies]
doc = [
"sphinx >=2.0",
"sphinx_rtd_theme",
"sphinx-gallery"
]
nulls = [
"brainsmash >=0.10.0",
"brainspace"
]
style = [
"flake8",
"ruff"
]
test = [
"netneurotools",
"coverage",
"pytest >=3.6",
"pytest-cov",
]
[project.urls]
"Homepage" = "https://github.com/netneurolab/neuromaps"
[build-system]
requires = ["setuptools", "versioneer[toml]"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = [
"neuromaps",
"neuromaps.*"
]
[tool.setuptools.package-data]
"*" = ["*.json", "*.bib"]
[tool.setuptools.dynamic]
version = {attr = "neuromaps.__version__"}
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "neuromaps/_version.py"
versionfile_build = "neuromaps/_version.py"
tag_prefix = ""
parentdir_prefix = ""
[tool.ruff]
line-length = 88
exclude = [
"setup.py",
"versioneer.py",
"neuromaps/_version.py",
"docs/conf.py",
"examples/*",
]
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "B", "W", "D", "NPY"]
ignore = [
"E402" # Module level import not at top of cell
]
preview = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["D104"]
"neuromaps/tests/*" = ["B011"]
"neuromaps/nulls/tests/*" = ["B011"]
"neuromaps/datasets/tests/*" = ["B011"]
[tool.coverage.run]
source = ["neuromaps"]
omit = [
"neuromaps/tests/*",
"neuromaps/nulls/tests/*",
"neuromaps/datasets/tests/*",
"neuromaps/_version.py",
]
[tool.codespell]
skip = '.git,*.pdf,*.svg,versioneer.py,*.json,*.bib,./docs/listofmaps.rst'
# ignore-words-list = ''