-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpyproject.toml
122 lines (109 loc) · 2.73 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatch-vcs", "hatchling"]
[project]
authors = [{name = "PyPREP developers"}]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
dependencies = [
"mne>=1.3.0",
"numpy>=1.20.2",
"psutil>=5.4.3",
"scipy>=1.6.3",
]
description = "PyPREP: A Python implementation of the preprocessing pipeline (PREP) for EEG data."
dynamic = ["version"]
keywords = [
"artifact",
"data",
"EEG",
"electroencephalography",
"mne",
"neuroimaging",
"neuroscience",
"preprocessing",
"python",
]
license = {file = "LICENSE"}
maintainers = [
{email = "[email protected]", name = "Stefan Appelhoff"},
]
name = "pyprep"
readme = {content-type = "text/x-rst", file = "README.rst"}
requires-python = ">=3.9"
[project.optional-dependencies]
dev = ["ipykernel", "ipython", "pyprep[test,docs]"]
docs = [
"intersphinx_registry",
"matplotlib",
"numpydoc",
"pydata-sphinx-theme",
"sphinx",
"sphinx-copybutton",
"sphinx_gallery",
]
test = [
"build",
"matplotlib",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-sugar",
"ruff",
"twine",
]
[project.urls]
"Bug Tracker" = "https://github.com/sappelhoff/pyprep/issues/"
"Documentation" = "https://pyprep.readthedocs.io/en/latest"
"Homepage" = "https://pyprep.readthedocs.io/en/latest"
"Source Code" = "https://github.com/sappelhoff/pyprep"
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = ["if 0:", "if __name__ == .__main__.:", "pragma: no cover"]
[tool.coverage.run]
omit = ["*tests*"]
[tool.hatch.build]
exclude = [
"/.*",
"/.github/**",
"/docs",
"/examples",
"matprep_artifacts",
"matprep_artifacts/**",
"tests/**",
]
[tool.hatch.metadata]
allow-direct-references = true # allow specifying URLs in our dependencies
[tool.hatch.version]
raw-options = {version_scheme = "release-branch-semver"}
source = "vcs"
[tool.pytest.ini_options]
addopts = """. --cov=pyprep/ --cov-report=xml --cov-config=pyproject.toml --verbose -s"""
filterwarnings = [
]
[tool.ruff]
extend-exclude = [
"matprep_artifacts/**",
]
[tool.ruff.lint]
ignore = ["A002"]
select = ["A", "D", "E", "F", "I", "UP", "W"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.tomlsort]
all = true
ignore_case = true
spaces_before_inline_comment = 2
trailing_comma_inline_array = true