-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
113 lines (103 loc) · 2.54 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "gradec"
description = "Meta-analytic gradient decoding"
license = { file = "LICENSE" }
authors = [{ name = "Gradec developers" }]
maintainers = [{ name = "Julio A Peraza", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
]
dependencies = [
"nimare>=0.2.1",
"neuromaps",
"scipy",
"nilearn<=0.10.2", # 0.10.3 breaks compatibility with nimare
"netneurotools>=0.2.4",
"surfplot",
"wordcloud", # for plotting
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/JulioAPeraza/gradec"
Documentation = "https://gradec.readthedocs.io/en/latest/"
[project.optional-dependencies]
doc = [
"sphinx>=2.0",
"sphinx_rtd_theme",
"sphinx-argparse",
"sphinx-copybutton",
"sphinx-gallery",
]
dev = ["black", "pre-commit", "isort", "flake8-pyproject"]
# For testing of oldest usable versions of dependencies.
min = ["nimare==0.2.1"]
test = [
"coverage",
"coveralls",
"flake8-black",
"flake8-docstrings",
"flake8-isort",
"flake8-pyproject",
"pytest",
"pytest-cov",
"pytest-env",
]
# Aliases
docs = ["gradec[doc]"]
devs = ["gradec[dev]"]
tests = ["gradec[test]"]
minimum = ["gradec[min]"]
all = ["gradec[doc,dev,test]"]
[tool.hatch.build.targets.wheel]
packages = ["gradec"]
exclude = ["temp"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "gradec/_version.py"
[tool.flake8]
max-line-length = 99
exclude = ["*build/", "gradec/_version.py"]
ignore = ["E203", "E402", "E722", "W503"]
per-file-ignores = """
*/__init__.py:D401
gradec/utils.py:D401
"""
docstring-convention = "numpy"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.black]
line-length = 99
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.github
| \.hg
| \.pytest_cache
| _build
| build
| dist
)/
| versioneer.py
| gradec/_version.py
)
'''