File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
src/awx_plugins/interfaces Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
check_untyped_defs = true
10
10
11
11
disallow_any_explicit = true
12
- # disallow_any_expr = true # crashes with some decorators like `@functools.cache` and `@pytest.mark.parametrize`
12
+ disallow_any_expr = true
13
13
disallow_any_decorated = true
14
14
disallow_any_generics = true
15
15
disallow_any_unimported = true
@@ -58,5 +58,7 @@ warn_unused_configs = true
58
58
warn_unused_ignores = true
59
59
60
60
[mypy-tests.*]
61
+ # crashes with some decorators like `@functools.cache` and `@pytest.mark.parametrize`:
62
+ disallow_any_expr = false
61
63
# fails on `@hypothesis.given()`:
62
64
disallow_any_decorated = false
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ error_summary = true
84
84
check_untyped_defs = true
85
85
86
86
disallow_any_explicit = true
87
- # disallow_any_expr = true # crashes with some decorators like `@functools.cache` and `@pytest.mark.parametrize`
87
+ disallow_any_expr = true # crashes with some decorators like `@functools.cache` and `@pytest.mark.parametrize`
88
88
disallow_any_decorated = true # fails on `@hypothesis.given()`
89
89
disallow_any_generics = true
90
90
disallow_any_unimported = true
Original file line number Diff line number Diff line change 10
10
__all__ = () # noqa: WPS410
11
11
12
12
13
- @functools .cache
13
+ @functools .cache # type: ignore[misc]
14
14
def detect_server_product_name () -> str :
15
15
"""Compute the official runtime name.
16
16
You can’t perform that action at this time.
0 commit comments