Skip to content

Commit

Permalink
Remove --mpl from pytest config; options add missing dependency
Browse files Browse the repository at this point in the history
* `topofileformats/asd.py` imports `matplotlib.pyplot` but `matplotlib` isn't a dependency listed in `pyproject.toml`
* Removes `--mpl` as an option to `pytest` configuration which is in `pyproject.toml` under the
  `[tool.pytest.ini_options]` section.
  • Loading branch information
ns-rse committed Nov 14, 2023
1 parent 3f91a9f commit 87acf61
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ keywords = [
"afm",
"image processing"
]
dependencies = ["numpy"]
dependencies = [
"matplotlib",
"numpy"
]

[project.optional-dependencies]
dev = [
Expand All @@ -39,7 +42,7 @@ dev = [

[tool.pytest.ini_options]
minversion = "7.0"
addopts = "--cov --mpl"
addopts = "--cov"
testpaths = [
"tests",
]
Expand Down

0 comments on commit 87acf61

Please sign in to comment.