diff --git a/.gitignore b/.gitignore index 05216979..90b59392 100644 --- a/.gitignore +++ b/.gitignore @@ -85,3 +85,6 @@ venv/ # written by setuptools_scm **/_version.py + +# Generated by test runs +reports diff --git a/pyproject.toml b/pyproject.toml index 1944249c..7c7dbbdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,10 +2,19 @@ requires = ["setuptools", "wheel", "setuptools_scm"] build-backend = "setuptools.build_meta" - [tool.setuptools_scm] write_to = "src/napari_matplotlib/_version.py" +[tool.pytest.ini_options] +qt_api = "pyqt6" +addopts = "--mpl" +filterwarnings = [ + "error", + # Coming from vispy + "ignore:distutils Version classes are deprecated:DeprecationWarning", + "ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning", +] + [tool.black] line-length = 79 diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 548e5f53..00000000 --- a/pytest.ini +++ /dev/null @@ -1,8 +0,0 @@ -[pytest] -qt_api = pyqt6 -filterwarnings = - error - - # Coming from vispy - ignore:distutils Version classes are deprecated:DeprecationWarning - ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning diff --git a/src/napari_matplotlib/tests/baseline/test_slice.png b/src/napari_matplotlib/tests/baseline/test_slice.png deleted file mode 100644 index 4b974fa4..00000000 Binary files a/src/napari_matplotlib/tests/baseline/test_slice.png and /dev/null differ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy