-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
136 lines (124 loc) · 2.79 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "eeg_positions"
description = "Compute and plot standard EEG electrode positions."
dynamic = ["version"]
authors = [
{name = "eeg_positions developers"}
]
maintainers = [
{name = "Stefan Appelhoff", email = "[email protected]"}
]
license = {file = "LICENSE"}
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.9"
keywords = [
"EEG",
"neuroscience",
"electrophysiology",
"electrode",
"sensor",
"coordinate",
"position",
"location",
"xyz",
"10-20 system",
"10-10 system",
"10-05 system"
]
classifiers = [
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"numpy",
"matplotlib",
"pandas"
]
[project.optional-dependencies]
test = [
"build",
"mne",
"pre-commit",
"pytest-cov",
"pytest-sugar",
"pytest",
"ruff",
"twine"
]
docs = [
"sphinx",
"mne",
"numpydoc",
"sphinx-copybutton",
"sphinx-gallery",
"sphinxcontrib-bibtex",
"sphinx_github_role",
"eeg_positions[surface3d]"
]
# only needed for examples/plot_on_surface.py
surface3d = [
"pyvistaqt",
"ipyevents",
"ipywidgets",
"trame",
"trame-vtk",
"trame-vuetify",
"nibabel",
"PyQt6",
"scikit-learn",
"darkdetect"
]
dev = [
"eeg_positions[test,docs]",
"ipython",
"ipykernel"
]
[project.urls]
"Bug Reports" = "https://github.com/sappelhoff/eeg_positions/issues"
"Source" = "https://github.com/sappelhoff/eeg_positions"
"Homepage" = "https://eeg-positions.readthedocs.io"
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = ["pragma: no cover", "if 0:", "if __name__ == .__main__.:"]
[tool.coverage.run]
omit = ["*tests*"]
[tool.hatch.build]
exclude = [
"/.*",
"/.*/**",
"tests/**",
"/examples/**",
"/docs/**",
"/data/**"
]
[tool.hatch.metadata]
allow-direct-references = true # allow specifying URLs in our dependencies
[tool.hatch.version]
source = "vcs"
raw-options = {version_scheme = "release-branch-semver"}
[tool.pytest.ini_options]
addopts = """. --cov=eeg_positions/ --cov-report=xml --cov-config=pyproject.toml --verbose -s"""
filterwarnings = [
]
[tool.ruff]
extend-exclude = [
]
[tool.ruff.lint]
select = ["A", "D", "E", "F", "I", "UP", "W"]
ignore = ["A002"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"