File tree 2 files changed +18
-2
lines changed
2 files changed +18
-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 @@ -4,9 +4,25 @@ multi_line_output = 3
4
4
order_by_type = false
5
5
6
6
[tool .mypy ]
7
+ files = " ."
8
+
9
+ # 'strict = true' is equivalent to the following:
10
+ check_untyped_defs = true
7
11
disallow_incomplete_defs = true
12
+ disallow_subclassing_any = true
13
+ disallow_untyped_decorators = true
8
14
disallow_untyped_defs = true
9
- files = " ."
15
+ warn_redundant_casts = true
16
+ warn_unused_configs = true
17
+ warn_unused_ignores = true
18
+
19
+ # The following need to have changes made to be able to enable them:
20
+ # disallow_any_generics = true
21
+ # disallow_untyped_calls = true
22
+ # no_implicit_optional = true
23
+ # no_implicit_reexport = true
24
+ # strict_equality = true
25
+ # warn_return_any = true
10
26
11
27
[[tool .mypy .overrides ]] # Overrides for currently untyped modules
12
28
module = [
You can’t perform that action at this time.
0 commit comments