File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ def get(
31
31
server_data = self .gitlab .http_get (self .path , ** kwargs )
32
32
if TYPE_CHECKING :
33
33
assert isinstance (server_data , dict )
34
- return cast ( Key , self ._obj_cls (self , server_data ) )
34
+ return self ._obj_cls (self , server_data )
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ disallow_incomplete_defs = true
12
12
disallow_subclassing_any = true
13
13
disallow_untyped_decorators = true
14
14
disallow_untyped_defs = true
15
+ warn_redundant_casts = true
15
16
warn_unused_configs = true
16
17
warn_unused_ignores = true
17
18
@@ -21,7 +22,6 @@ warn_unused_ignores = true
21
22
# no_implicit_optional = true
22
23
# no_implicit_reexport = true
23
24
# strict_equality = true
24
- # warn_redundant_casts = true
25
25
# warn_return_any = true
26
26
27
27
[[tool .mypy .overrides ]] # Overrides for currently untyped modules
You can’t perform that action at this time.
0 commit comments