File tree Expand file tree Collapse file tree 3 files changed +40
-6
lines changed Expand file tree Collapse file tree 3 files changed +40
-6
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,37 @@ explicit_package_bases = True
12
12
13
13
# Disable overload-overlap due to many false-positives
14
14
disable_error_code = overload-overlap
15
+
16
+ # jaraco/jaraco.email#4
17
+ [mypy-jaraco.email.*]
18
+ ignore_missing_imports = True
19
+
20
+ # jaraco/jaraco.fabric#8
21
+ [mypy-jaraco.fabric.*]
22
+ ignore_missing_imports = True
23
+
24
+ # jaraco/jaraco.modb#3
25
+ [mypy-jaraco.modb.*]
26
+ ignore_missing_imports = True
27
+
28
+ # cherrypy/cherrypy#1510
29
+ [mypy-cherrypy.*]
30
+ ignore_missing_imports = True
31
+
32
+ # jsonpickle/jsonpickle#441
33
+ [mypy-jsonpickle.*]
34
+ ignore_missing_imports = True
35
+
36
+ # shon/httpagentparser#93
37
+ [mypy-httpagentparser.*]
38
+ ignore_missing_imports = True
39
+
40
+ # dropbox/dropbox-sdk-python#419
41
+ [mypy-dropbox.*]
42
+ ignore_missing_imports = True
43
+
44
+ # TODO: Raise issues upstream
45
+ [mypy-fabric.*]
46
+ ignore_missing_imports = True
47
+ [mypy-genshi.*]
48
+ ignore_missing_imports = True
Original file line number Diff line number Diff line change @@ -99,7 +99,3 @@ recapture-docs = "recapturedocs.server:handle_command_line"
99
99
100
100
101
101
[tool .setuptools_scm ]
102
-
103
-
104
- [tool .pytest-enabler .mypy ]
105
- # Disabled due to jaraco/skeleton#143
Original file line number Diff line number Diff line change 2
2
A few handlers to make sure recapturedocs objects are serializable to JSON
3
3
"""
4
4
5
+ from __future__ import annotations
6
+
7
+ from typing import ClassVar
8
+
5
9
import jsonpickle
6
10
7
11
# TODO: what types are returned for ResultSet and HIT?
@@ -28,7 +32,7 @@ def restore(self, data):
28
32
29
33
30
34
class OldStyleClassParamsHandler (jsonpickle .handlers .BaseHandler ):
31
- params = ()
35
+ params : ClassVar [ tuple [ object , ...]] = ()
32
36
33
37
def flatten (self , obj , data ):
34
38
data .update (self ._base .flatten (vars (obj )))
@@ -42,7 +46,7 @@ def restore(self, data):
42
46
43
47
44
48
class OldStyleClassParamsHandler_None (OldStyleClassParamsHandler ):
45
- params = (None ,) # type: ignore
49
+ params = (None ,)
46
50
47
51
48
52
def setup_handlers ():
You can’t perform that action at this time.
0 commit comments