-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
80 lines (72 loc) · 1.87 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "mne-qt-browser"
description = "A new backend based on pyqtgraph for the 2D-Data-Browser in MNE-Python"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
keywords = ["science", "neuroscience", "psychology"]
authors = [{ name = "Martin Schulz", email = "[email protected]" }]
classifiers = [
"Intended Audience :: Science/Research",
"Programming Language :: Python",
]
dependencies = [
"numpy",
"scipy",
"matplotlib",
"qtpy",
"scooby",
"mne>=1.0",
"pyqtgraph>=0.12.3",
"pyopengl; platform_system=='Darwin'",
"darkdetect",
"qdarkstyle",
]
dynamic = ["version"]
[project.optional-dependencies]
opengl = ["pyopengl"]
tests = [
"pytest",
"pytest-qt",
"pytest-cov",
"pytest-timeout",
"scikit-learn",
"pytest-harvest",
"pytest-error-for-skips",
"sphinx-gallery",
]
[project.urls]
homepage = "https://mne.tools/"
repository = "https://github.com/mne-tools/mne-qt-browser"
changelog = "https://github.com/mne-tools/mne-qt-browser/releases"
[tool.hatch.build]
exclude = [
"/.*",
"/*.yml",
"/screenshot.png",
"/CONTRIBUTING.md",
] # tracked by git, but we don't want to ship those files
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "release-branch-semver" }
[tool.pytest.ini_options]
addopts = "-ra --cov-report= --tb=short --junit-xml=junit-results.xml --capture=sys --durations=10"
testpaths = ["mne_qt_browser"]
junit_family = "xunit2"
filterwarnings = [
"error",
"ignore:Failed to disconnect.*:RuntimeWarning",
]
[tool.ruff.lint]
select = ["E", "F", "W", "D", "I", "UP"]
exclude = ["__init__.py"]
ignore = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D413", # Missing blank line after last section
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"