forked from matplotlib/matplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy-stubtest-allowlist.txt
51 lines (41 loc) · 1.81 KB
/
mypy-stubtest-allowlist.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Non-typed (and private) modules/functions
matplotlib\.backends\..*
matplotlib\.tests(\..*)?
matplotlib\.pylab\..*
matplotlib\._.*
matplotlib\.rcsetup\._listify_validator
matplotlib\.rcsetup\._validate_linestyle
matplotlib\.ft2font\.Glyph
matplotlib\.testing\.jpl_units\..*
matplotlib\.sphinxext(\..*)?
# set methods have heavy dynamic usage of **kwargs, with differences for subclasses
# which results in technically inconsistent signatures, but not actually a problem
matplotlib\..*\.set$
# Typed inline, inconsistencies largely due to imports
matplotlib\.pyplot\..*
matplotlib\.typing\..*
# Other decorator modifying signature
# Backcompat decorator which does not modify runtime reported signature
matplotlib\.offsetbox\..*Offset[Bb]ox\.get_offset
# Inconsistent super/sub class parameter name (maybe rename for consistency)
matplotlib\.projections\.polar\.RadialLocator\.nonsingular
matplotlib\.ticker\.LogLocator\.nonsingular
matplotlib\.ticker\.LogitLocator\.nonsingular
# Stdlib/Enum considered inconsistent (no fault of ours, I don't think)
matplotlib\.backend_bases\._Mode\.__new__
matplotlib\.units\.Number\.__hash__
# 3.6 Pending deprecations
matplotlib\.figure\.Figure\.set_constrained_layout
matplotlib\.figure\.Figure\.set_constrained_layout_pads
matplotlib\.figure\.Figure\.set_tight_layout
# Maybe should be abstractmethods, required for subclasses, stubs define once
matplotlib\.tri\..*TriInterpolator\.__call__
matplotlib\.tri\..*TriInterpolator\.gradient
# TypeVar used only in type hints
matplotlib\.backend_bases\.FigureCanvasBase\._T
matplotlib\.backend_managers\.ToolManager\._T
matplotlib\.spines\.Spine\._T
# Parameter inconsistency due to 3.10 deprecation
matplotlib\.figure\.FigureBase\.get_figure
# getitem method only exists for 3.10 deprecation backcompatability
matplotlib\.inset\.InsetIndicator\.__getitem__