File tree 5 files changed +8
-20
lines changed
5 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -125,13 +125,10 @@ disable_error_code = [
125
125
# Not all imports in these stubs are gonna be typed
126
126
" import-untyped" ,
127
127
# TODO
128
- " assert-type" ,
129
- " assignment" ,
130
- " attr-defined" ,
131
- " misc" ,
132
- " no-redef" ,
133
- " override" ,
134
- " return" ,
135
- " valid-type" ,
136
- " var-annotated" ,
128
+ " valid-type" , # 967 errors in 115 files
129
+ " override" , # 790 errors in 220 files
130
+ " assignment" , # 773 errors in 172 files
131
+ " misc" , # 692 errors in 132 files
132
+ " attr-defined" , # 202 errors in 75 files
133
+ " assert-type" , # 6 errors in 1 file
137
134
]
Original file line number Diff line number Diff line change 1
1
# Python: 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)]
2
2
# Library: matplotlib, version: 3.4.0
3
3
# Module: matplotlib.ft2font, version: unspecified
4
- import builtins as _mod_builtins
5
4
import typing
6
5
7
6
BOLD : int
@@ -123,11 +122,7 @@ MULTIPLE_MASTERS: int
123
122
SCALABLE : int
124
123
SFNT : int
125
124
VERTICAL : int
126
- __doc__ : typing .Any
127
- __file__ : str
128
125
__freetype_build_type__ : str
129
126
__freetype_version__ : str
130
- __name__ : str
131
- __package__ : str
132
127
133
128
def __getattr__ (name ) -> typing .Any : ...
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ from .graph import Graph
6
6
from .multidigraph import MultiDiGraph
7
7
from .multigraph import MultiGraph
8
8
9
- __all__ = []
9
+ __all__ : list [ str ] = []
10
10
11
11
class OrderedGraph (Graph ):
12
12
node_dict_factory = ...
Original file line number Diff line number Diff line change @@ -15,6 +15,4 @@ SYMPY_CACHE_SIZE = ...
15
15
16
16
def cacheit (func : _CallableT ) -> _CallableT : ...
17
17
def cached_property (func ) -> property : ...
18
- def lazy_function (module : str , name : str ) -> Callable :
19
- class LazyFunctionMeta (type ): ...
20
- class LazyFunction (metaclass = LazyFunctionMeta ): ...
18
+ def lazy_function (module : str , name : str ) -> Callable : ...
Original file line number Diff line number Diff line change @@ -364,8 +364,6 @@ kCGImageAlphaNoneSkipLast: int = ...
364
364
kCGImageAlphaNoneSkipFirst : int = ...
365
365
kCGImageAlphaOnly : int = ...
366
366
367
- kCGImageAlphaPremultipliedLast : int = ...
368
-
369
367
kCGBitmapAlphaInfoMask : int = ...
370
368
kCGBitmapFloatComponents = ...
371
369
You can’t perform that action at this time.
0 commit comments