-
Notifications
You must be signed in to change notification settings - Fork 15
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
Showing
9 changed files
with
57 additions
and
208 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[project] | ||
name="modopt" | ||
description = 'Modular Optimisation tools for soliving inverse problems.' | ||
version = "1.7.1" | ||
requires-python= ">=3.8" | ||
|
||
authors = [{name="Samuel Farrens", email="[email protected]"}, | ||
{name="Chaithya GR", email="[email protected]"}, | ||
{name="Pierre-Antoine Comby", email="[email protected]"} | ||
] | ||
readme="README.md" | ||
license={file="LICENCE.txt"} | ||
|
||
dependencies = ["numpy", "scipy", "tqdm"] | ||
|
||
[project.optional-dependencies] | ||
gpu=["torch", "ptwt"] | ||
doc=["myst-parser==0.16.1", | ||
"nbsphinx==0.8.7", | ||
"nbsphinx-link==1.3.0", | ||
"sphinx-gallery==0.11.1", | ||
"sphinxawesome-theme==3.2.1", | ||
"sphinxcontrib-bibtex"] | ||
dev=["black", "pytest<8.0.0", "pytest-cases", "pytest-cov", "pytest-sugar", "ruff"] | ||
|
||
[build-system] | ||
requires=["setuptools", "setuptools-scm[toml]", "wheel"] | ||
|
||
[tool.setuptools] | ||
packages=["modopt"] | ||
|
||
[tool.coverage.run] | ||
omit = ["*tests*", "*__init__*", "*setup.py*", "*_version.py*", "*example*"] | ||
|
||
[tool.coverage.report] | ||
precision = 2 | ||
exclude_lines = ["pragma: no cover", "raise NotImplementedError"] | ||
|
||
[tool.black] | ||
|
||
[tool.ruff] | ||
|
||
src=["modopt"] | ||
select = ["E", "F", "B", "Q", "UP", "D", "NPY", "RUF"] | ||
|
||
[tool.ruff.pydocstyle] | ||
convention="numpy" | ||
|
||
[tool.isort] | ||
profile="black" | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
norecursedirs = ["tests/helpers"] | ||
testpaths=["modopt"] | ||
addopts = ["--verbose", "--cov=modopt", "--cov-report=term-missing", "--cov-report=xml", "--junitxml=pytest.xml"] |
This file was deleted.
Oops, something went wrong.