-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
125 lines (109 loc) · 2.92 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pyprep"
description = "PyPREP: A Python implementation of the preprocessing pipeline (PREP) for EEG data."
dynamic = ["version"]
authors = [{ name = "PyPREP developers" }]
maintainers = [
{ name = "Stefan Appelhoff", email = "stefan.appelhoff@mailbox.org" },
]
license = { file = "LICENSE" }
readme = { file = "README.rst", content-type = "text/x-rst" }
requires-python = ">=3.9"
keywords = [
"EEG",
"electroencephalography",
"artifact",
"preprocessing",
"data",
"neuroscience",
"neuroimaging",
"mne",
"python",
]
classifiers = [
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"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>=1.20.2",
"scipy>=1.6.3",
"mne>=1.3.0",
"psutil>=5.4.3"
]
[project.optional-dependencies]
# Variants with dependencies that will get installed on top of those listed unter
# project.dependencies
# Dependencies for running the test infrastructure
test = [
"build",
"twine",
"ruff",
"isort",
"matplotlib",
"pytest",
"pytest-cov",
"pytest-sugar",
"pre-commit",
]
# Dependencies for building the documentation
docs = [
"matplotlib",
"sphinx>3",
"pydata-sphinx-theme",
"sphinx_gallery",
"sphinx-copybutton",
"numpydoc",
]
# Dependencies for developer installations
dev = ["pyprep[test,docs]"]
[project.urls]
"Homepage" = "https://pyprep.readthedocs.io/en/latest"
"Bug Tracker" = "https://github.com/sappelhoff/pyprep/issues/"
"Documentation" = "https://pyprep.readthedocs.io/en/latest"
"Source Code" = "https://github.com/sappelhoff/pyprep"
[tool.hatch.metadata]
allow-direct-references = true # allow specifying URLs in our dependencies
[tool.hatch.build]
exclude = [
"/.*",
"tests/**",
"/examples",
"/docs",
"/.github/**",
"matprep_artifacts/**",
"matprep_artifacts"
]
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "release-branch-semver" }
[tool.coverage.run]
omit = ["*tests*"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = ["pragma: no cover", "if 0:", "if __name__ == .__main__.:"]
[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]
select = ["A", "D", "E", "F", "I", "UP", "W"]
ignore = ["A002"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"