File tree 4 files changed +10
-4
lines changed
4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ disallow_untyped_defs = True
3
3
show_error_codes = True
4
4
warn_unused_ignores = True
5
5
6
+ # Temporarily allow implicit optional until pydantic handles JSON schema generation.
7
+ # mypy >= 0.990 has changed its default to no_implicit_optional=True.
8
+ # When removed - utilize the following make the code base implicit optional
9
+ # type hints PEP 484 compliant:
10
+ # https://github.com/hauntsaninja/no_implicit_optional
11
+ implicit_optional = True
12
+
6
13
# https://github.com/Azure/azure-sdk-for-python/issues/20771
7
14
[mypy-azure.storage.blob.*]
8
15
ignore_errors = True
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def get_long_description() -> str:
30
30
"mypy" ,
31
31
"pylint<=2.13.9" , # Locked due to https://github.com/equinor/webviz-subsurface/issues/1052
32
32
"pytest-xdist" ,
33
+ "pytest-forked" ,
33
34
"selenium" ,
34
35
"types-bleach" ,
35
36
"types-markdown" ,
Original file line number Diff line number Diff line change @@ -509,9 +509,7 @@ def plugin_layout(
509
509
),
510
510
screenshotFilename = self ._screenshot_filename ,
511
511
feedbackUrl = self ._make_feedback_url (),
512
- tourSteps = WebvizPluginABC ._reformat_tour_steps (
513
- self .tour_steps # type: ignore[attr-defined]
514
- )
512
+ tourSteps = WebvizPluginABC ._reformat_tour_steps (self .tour_steps )
515
513
if hasattr (self , "tour_steps" )
516
514
else None ,
517
515
stretch = self ._stretch if self .views () else True ,
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def _undecorate(func: Callable) -> Callable:
112
112
"""
113
113
114
114
while hasattr (func , "__wrapped__" ):
115
- func = func .__wrapped__ # type: ignore[attr-defined]
115
+ func = func .__wrapped__
116
116
117
117
return func
118
118
You can’t perform that action at this time.
0 commit comments