forked from braindatalab/PyBispectra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOC] Update documentation pages and update coverage config (braindat…
- Loading branch information
Showing
10 changed files
with
83 additions
and
93 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 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
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
Installation | ||
============ | ||
|
||
To install PyBispectra, activate the desired environment in which you want the | ||
package, then install it using pip: | ||
To install PyBispectra, activate the desired environment in which you want the package, | ||
then install it using pip: | ||
|
||
.. code-block:: console | ||
.. code-block:: | ||
$ pip install pybispectra | ||
pip install pybispectra | ||
PyBispectra requires Python >= 3.10. Other requirements are listed | ||
`here <_static/requirements.txt>`_. | ||
PyBispectra requires Python >= 3.10. | ||
|
||
If you need to create an environment in which to install PyBispectra, you can | ||
do so using `conda <https://docs.conda.io/en/latest/>`_, after which you can | ||
install the package: | ||
If you need to create an environment in which to install PyBispectra, you can do so | ||
using `conda <https://docs.conda.io/en/latest/>`_, after which you can install the | ||
package: | ||
|
||
.. code-block:: console | ||
.. code-block:: | ||
$ conda create -n pybispectra_env | ||
$ conda activate pybispectra_env | ||
$ pip install pybispectra | ||
conda create -n pybispectra_env | ||
conda activate pybispectra_env | ||
conda install -c conda-forge pip | ||
pip install pybispectra |
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 |
---|---|---|
|
@@ -3,34 +3,21 @@ build-backend = "hatchling.build" | |
requires = ["hatchling"] | ||
|
||
[project] | ||
authors = [ | ||
{email = "[email protected]", name = "Thomas Samuel Binns"}, | ||
] | ||
authors = [{email = "[email protected]", name = "Thomas Samuel Binns"}] | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
] | ||
dependencies = [ | ||
"joblib", | ||
"matplotlib", | ||
"mne>1.6", | ||
"numba", | ||
"numpy", | ||
"scipy", | ||
] | ||
dependencies = ["joblib", "matplotlib", "mne>1.6", "numba", "numpy", "scipy"] | ||
description = "A Python signal processing package for computing spectral-domain and time-domain interactions using the bispectrum." | ||
name = "pybispectra" | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
version = "1.2.0dev" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pybispectra[doc]", | ||
"pybispectra[lint]", | ||
"pybispectra[test]", | ||
] | ||
dev = ["pybispectra[doc]", "pybispectra[lint]", "pybispectra[test]"] | ||
doc = [ | ||
"ipykernel", | ||
"ipython", | ||
|
@@ -39,6 +26,7 @@ doc = [ | |
"numpydoc", | ||
"pydata-sphinx-theme", | ||
"sphinx", | ||
"sphinx-copybutton", | ||
"sphinx-gallery", | ||
"sphinxcontrib-bibtex", | ||
] | ||
|
@@ -53,10 +41,7 @@ lint = [ | |
"toml-sort", | ||
"yamllint", | ||
] | ||
test = [ | ||
"coverage", | ||
"pytest", | ||
] | ||
test = ["coverage", "pytest"] | ||
|
||
[project.urls] | ||
"Bug Tracker" = "https://github.com/braindatalab/PyBispectra/issues" | ||
|
@@ -66,12 +51,13 @@ test = [ | |
ignore-words-list = "trough" | ||
skip = "./docs/build,./docs/source/auto_examples,./docs/source/refs.bib" | ||
|
||
[tool.coverage.report] | ||
show_missing = true | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
"__init__.py", | ||
"src/pybispectra/utils/_docs.py", | ||
"tests/*", | ||
] | ||
command_line = "-m pytest -v tests" | ||
omit = ["__init__.py", "src/pybispectra/utils/_docs.py", "tests/*"] | ||
source = ["pybispectra"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
@@ -133,10 +119,7 @@ ignore_roles = [ | |
report_level = "WARNING" | ||
|
||
[tool.ruff] | ||
extend-exclude = [ | ||
"docs", | ||
"examples/compute_*.py", | ||
] | ||
extend-exclude = ["docs", "examples/compute_*.py"] | ||
line-length = 88 | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
|