-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
102 lines (90 loc) · 2.4 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatch-vcs", "hatchling"]
[project]
authors = [
{name = "pybv 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 = [
"numpy >= 1.18.1",
]
description = "pybv - a lightweight I/O utility for the BrainVision data format"
dynamic = ["version"]
keywords = ["Brain Products", "BrainVision", "eeg", "vhdr", "vmrk"]
license = {file = "LICENSE"}
maintainers = [
{email = "[email protected]", name = "Stefan Appelhoff"},
]
name = "pybv"
readme = {content-type = "text/x-rst", file = "README.rst"}
requires-python = ">=3.9"
[project.optional-dependencies]
dev = ["ipykernel", "ipython", "pybv[test,docs]"]
docs = [
"intersphinx_registry",
"matplotlib",
"numpydoc",
"sphinx",
"sphinx-copybutton",
]
test = [
"build",
"matplotlib",
"mne",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-sugar",
"ruff",
"twine",
]
[project.urls]
Documentation = "https://pybv.readthedocs.io"
Issues = "https://github.com/bids-standard/pybv/issues"
Repository = "https://github.com/bids-standard/pybv"
[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",
"/specification",
"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 = """. --doctest-modules --cov=pybv/ --cov-report=xml --cov-config=pyproject.toml --verbose -s"""
filterwarnings = [
]
[tool.ruff.lint]
ignore = ["D203", "D213"]
select = ["A", "B006", "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