@@ -13,10 +13,16 @@ filterwarnings = [
13
13
" ignore:distutils Version classes are deprecated:DeprecationWarning" ,
14
14
" ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning" ,
15
15
# Coming from pydantic via napari
16
- " ignore:Pickle, copy, and deepcopy support will be removed from itertools in Python 3.14.:DeprecationWarning"
16
+ " ignore:Pickle, copy, and deepcopy support will be removed from itertools in Python 3.14.:DeprecationWarning" ,
17
17
]
18
18
qt_api = " pyqt6"
19
- addopts = [" --mpl" , " --mpl-baseline-relative" , " --strict-config" , " --strict-markers" , " -ra" ]
19
+ addopts = [
20
+ " --mpl" ,
21
+ " --mpl-baseline-relative" ,
22
+ " --strict-config" ,
23
+ " --strict-markers" ,
24
+ " -ra" ,
25
+ ]
20
26
minversion = " 7"
21
27
testpaths = [" src/napari_matplotlib/tests" ]
22
28
log_cli_level = " INFO"
@@ -54,17 +60,15 @@ ignore = [
54
60
convention = " numpy"
55
61
56
62
[tool .mypy ]
57
- python_version = " 3.10 "
63
+ python_version = " 3.12 "
58
64
# Block below are checks that form part of mypy 'strict' mode
59
65
strict = true
60
66
disallow_subclassing_any = false # TODO: fix
61
- warn_return_any = false # TODO: fix
67
+ warn_return_any = false # TODO: fix
62
68
ignore_missing_imports = true
63
69
64
70
enable_error_code = [" ignore-without-code" , " redundant-expr" , " truthy-bool" ]
65
71
66
72
[[tool .mypy .overrides ]]
67
- module = [
68
- " napari_matplotlib/tests/*" ,
69
- ]
73
+ module = [" napari_matplotlib/tests/*" ]
70
74
disallow_untyped_defs = false
0 commit comments