-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67c3bc2
commit ed7b1f8
Showing
10 changed files
with
40 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ htmlcov/ | |
*.vmrk | ||
*.eeg | ||
*.vhdr | ||
.ruff_cache |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
"""A lightweight I/O utility for the BrainVision data format.""" | ||
|
||
__version__ = "0.8.0.dev5" | ||
# Authors: pybv developers | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
from .io import write_brainvision | ||
|
||
__all__ = ["write_brainvision"] | ||
|
||
try: | ||
from importlib.metadata import version | ||
|
||
__version__ = version("pybv") | ||
except Exception: | ||
__version__ = "0.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["setuptools"] | ||
build-backend = "hatchling.build" | ||
requires = ["hatch-vcs", "hatchling"] | ||
|
||
[project] | ||
authors = [ | ||
|
@@ -19,8 +19,6 @@ classifiers = [ | |
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Software Development", | ||
] | ||
dependencies = [ | ||
"numpy >= 1.18.1", | ||
|
@@ -33,12 +31,11 @@ maintainers = [ | |
{email = "[email protected]", name = "Stefan Appelhoff"}, | ||
] | ||
name = "pybv" | ||
readme = "README.rst" | ||
readme = {content-type = "text/x-rst", file = "README.rst"} | ||
requires-python = ">=3.9" | ||
|
||
[project.optional-dependencies] | ||
dev = ["ipykernel", "ipython", "pybv[test,docs]"] | ||
# Dependencies for developer installations | ||
docs = [ | ||
"intersphinx_registry", | ||
"matplotlib", | ||
|
@@ -48,7 +45,6 @@ docs = [ | |
] | ||
test = [ | ||
"build", | ||
"check-manifest", | ||
"matplotlib", | ||
"mne", | ||
"pre-commit", | ||
|
@@ -71,6 +67,22 @@ 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 = [ | ||
|
@@ -80,11 +92,8 @@ filterwarnings = [ | |
ignore = ["D203", "D213"] | ||
select = ["A", "B006", "D", "E", "F", "I", "UP", "W"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "pybv.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = ["docs", "specification"] | ||
[tool.ruff.lint.pydocstyle] | ||
convention = "numpy" | ||
|
||
[tool.tomlsort] | ||
all = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters