@@ -13,10 +13,16 @@ filterwarnings = [
1313 " ignore:distutils Version classes are deprecated:DeprecationWarning" ,
1414 " ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning" ,
1515 # 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" ,
1717]
1818qt_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+ ]
2026minversion = " 7"
2127testpaths = [" src/napari_matplotlib/tests" ]
2228log_cli_level = " INFO"
@@ -54,17 +60,15 @@ ignore = [
5460convention = " numpy"
5561
5662[tool .mypy ]
57- python_version = " 3.10 "
63+ python_version = " 3.12 "
5864# Block below are checks that form part of mypy 'strict' mode
5965strict = true
6066disallow_subclassing_any = false # TODO: fix
61- warn_return_any = false # TODO: fix
67+ warn_return_any = false # TODO: fix
6268ignore_missing_imports = true
6369
6470enable_error_code = [" ignore-without-code" , " redundant-expr" , " truthy-bool" ]
6571
6672[[tool .mypy .overrides ]]
67- module = [
68- " napari_matplotlib/tests/*" ,
69- ]
73+ module = [" napari_matplotlib/tests/*" ]
7074disallow_untyped_defs = false
0 commit comments