-
Notifications
You must be signed in to change notification settings - Fork 33
/
pyproject.toml
112 lines (98 loc) · 2.28 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
[project]
name = "netneurotools"
description = "A toolbox for network neuroscience"
readme = "README.rst"
requires-python = ">=3.8"
license = {file = "LICENSE"}
keywords = ["network neuroscience", "connectomics"]
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 = [
"bctpy",
"numpy >=1.16",
"scipy >=1.4.0",
"matplotlib",
"scikit-learn",
"nibabel >=3.0.0",
"nilearn"
]
dynamic=["version"]
[project.optional-dependencies]
doc = [
"sphinx >=2.0, <7.0.0",
"sphinx_rtd_theme",
"sphinx-gallery"
]
plotting = [
"mayavi",
"pysurfer"
]
numba = [
"numba"
]
style = [
"flake8",
"ruff"
]
test = [
"coverage",
"pytest >=3.6",
"pytest-cov",
]
[project.urls]
"Homepage" = "https://github.com/netneurolab/netneurotools"
[build-system]
requires = ["setuptools", "versioneer[toml]"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages]
find = {}
[tool.setuptools.dynamic]
version = {attr = "netneurotools.__version__"}
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "netneurotools/_version.py"
versionfile_build = "netneurotools/_version.py"
tag_prefix = ""
parentdir_prefix = ""
[tool.ruff]
select = ["E", "F", "B", "W", "D", "NPY"]
ignore = [
"B905", # zip() without an explicit strict= parameter
# "W605", # Invalid escape sequence: latex
"NPY002", # Replace legacy `np.random` call with `np.random.Generator`
]
line-length = 88
exclude = [
"setup.py",
"versioneer.py",
"netneurotools/_version.py",
"docs/conf.py",
"examples/*",
]
target-version = "py38"
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.ruff.per-file-ignores]
"__init__.py" = ["D104", "F401"]
"netneurotools/tests/*" = ["B011", "D103"]
"examples/*" = ["E402", "D"]
[tool.coverage.run]
source = ["netneurotools"]
omit = [
"netneurotools/tests/*",
"netneurotools/_version.py",
]
[tool.codespell]
skip = '.git,*.pdf,*.svg,versioneer.py'
# ignore-words-list = ''