Skip to content

Commit cb940ab

Browse files
authored
Merge pull request #136 from dstansby/figure-testing
Misc and minor testing improvements
2 parents 65a3216 + e6855f9 commit cb940ab

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ venv/
8585

8686
# written by setuptools_scm
8787
**/_version.py
88+
89+
# Generated by test runs
90+
reports

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22
requires = ["setuptools", "wheel", "setuptools_scm"]
33
build-backend = "setuptools.build_meta"
44

5-
65
[tool.setuptools_scm]
76
write_to = "src/napari_matplotlib/_version.py"
87

8+
[tool.pytest.ini_options]
9+
qt_api = "pyqt6"
10+
addopts = "--mpl"
11+
filterwarnings = [
12+
"error",
13+
# Coming from vispy
14+
"ignore:distutils Version classes are deprecated:DeprecationWarning",
15+
"ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning",
16+
]
17+
918
[tool.black]
1019
line-length = 79
1120

pytest.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)
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