Debian Codegraph @

tools/stubtest/allowlist.txt

raw
1 # intentional type-check-only deviations from runtime
2 numpy\._typing.*
3 numpy\.polynomial\._polytypes
4
5 # internal testing code
6 numpy\.conftest.*
7 numpy\.random\._generator\.__test__
8 numpy(\.\w+)?\.tests.*
9
10 # system-dependent extended precision types
11 numpy(\..+)?\.float(96|128)
12 numpy(\..+)?\.complex(192|256)
13
14 # system-dependent SIMD constants
15 numpy\._core\._simd\.\w+
16
17 # these are always either float96/complex192 or float128/complex256
18 numpy\.__all__
19 numpy\._?core\.__all__
20 numpy\._?core\.numeric\.__all__
21 numpy\._?core\.numerictypes\.__all__
22 numpy\.matlib\.__all__
23
24 # requires numpy/_core/code_generators to be on the PYTHONPATH when running stubtest
25 numpy\._core\.cversions
26
27 # raises SystemExit on import
28 numpy\.f2py\.__main__
29
30 # inexpressible: the `dtype.type` class-attribute is `None` unless instantiated
31 numpy(\..+)?\.dtype\.type
32
33 # import errors
34 numpy\._pyinstaller\..*
35
36 # known minor deviations from runtime
37 numpy\.(\w+\.)*integer\.__index__
38 numpy\.(\w+\.)*integer\.bit_count
39 numpy\.(\w+\.)*floating\.as_integer_ratio
40 numpy\.(\w+\.)*floating\.is_integer
41 numpy\.(\w+\.)*complexfloating\.__complex__
42 # https://github.com/numpy/numpy/issues/30445#issuecomment-3665484402
43 numpy\.(\w+\.)*generic\.__hash__
44
45 # intentionally missing deprecated module stubs
46 numpy\.core\._dtype
47 numpy\.core\._dtype_ctypes
48 numpy\.core\._internal
49 numpy\.core\._multiarray_umath.*
50 numpy\.core\.arrayprint.*
51 numpy\.core\.defchararray.*
52 numpy\.core\.einsumfunc.*
53 numpy\.core\.fromnumeric.*
54 numpy\.core\.function_base.*
55 numpy\.core\.getlimits.*
56 numpy\.core\.multiarray.*
57 numpy\.core\.numeric.*
58 numpy\.core\.overrides
59 numpy\.core\.records.*
60 numpy\.core\.shape_base.*
61 numpy\.core\.umath.*
62 numpy\.typing\.mypy_plugin
63
64 # ufuncs, see https://github.com/python/mypy/issues/20223
65 numpy\.(\w+\.)*abs
66 numpy\.(\w+\.)*absolute
67 numpy\.(\w+\.)*acos
68 numpy\.(\w+\.)*acosh
69 numpy\.(\w+\.)*add
70 numpy\.(\w+\.)*arccos
71 numpy\.(\w+\.)*arccosh
72 numpy\.(\w+\.)*arcsin
73 numpy\.(\w+\.)*arcsinh
74 numpy\.(\w+\.)*arctan
75 numpy\.(\w+\.)*arctan2
76 numpy\.(\w+\.)*arctanh
77 numpy\.(\w+\.)*asin
78 numpy\.(\w+\.)*asinh
79 numpy\.(\w+\.)*atan
80 numpy\.(\w+\.)*atan2
81 numpy\.(\w+\.)*atanh
82 numpy\.(\w+\.)*bitwise_and
83 numpy\.(\w+\.)*bitwise_count
84 numpy\.(\w+\.)*bitwise_invert
85 numpy\.(\w+\.)*bitwise_left_shift
86 numpy\.(\w+\.)*bitwise_not
87 numpy\.(\w+\.)*bitwise_or
88 numpy\.(\w+\.)*bitwise_right_shift
89 numpy\.(\w+\.)*bitwise_xor
90 numpy\.(\w+\.)*cbrt
91 numpy\.(\w+\.)*ceil
92 numpy\.(\w+\.)*conj
93 numpy\.(\w+\.)*conjugate
94 numpy\.(\w+\.)*copysign
95 numpy\.(\w+\.)*cos
96 numpy\.(\w+\.)*cosh
97 numpy\.(\w+\.)*deg2rad
98 numpy\.(\w+\.)*degrees
99 numpy\.(\w+\.)*divide
100 numpy\.(\w+\.)*divmod
101 numpy\.(\w+\.)*equal
102 numpy\.(\w+\.)*exp
103 numpy\.(\w+\.)*exp2
104 numpy\.(\w+\.)*expm1
105 numpy\.(\w+\.)*fabs
106 numpy\.(\w+\.)*float_power
107 numpy\.(\w+\.)*floor
108 numpy\.(\w+\.)*floor_divide
109 numpy\.(\w+\.)*fmax
110 numpy\.(\w+\.)*fmin
111 numpy\.(\w+\.)*fmod
112 numpy\.(\w+\.)*frexp
113 numpy\.(\w+\.)*gcd
114 numpy\.(\w+\.)*greater
115 numpy\.(\w+\.)*greater_equal
116 numpy\.(\w+\.)*heaviside
117 numpy\.(\w+\.)*hypot
118 numpy\.(\w+\.)*invert
119 numpy\.(\w+\.)*isfinite
120 numpy\.(\w+\.)*isinf
121 numpy\.(\w+\.)*isnan
122 numpy\.(\w+\.)*isnat
123 numpy\.(\w+\.)*lcm
124 numpy\.(\w+\.)*ldexp
125 numpy\.(\w+\.)*left_shift
126 numpy\.(\w+\.)*less
127 numpy\.(\w+\.)*less_equal
128 numpy\.(\w+\.)*log
129 numpy\.(\w+\.)*log10
130 numpy\.(\w+\.)*log1p
131 numpy\.(\w+\.)*log2
132 numpy\.(\w+\.)*logaddexp
133 numpy\.(\w+\.)*logaddexp2
134 numpy\.(\w+\.)*logical_and
135 numpy\.(\w+\.)*logical_not
136 numpy\.(\w+\.)*logical_or
137 numpy\.(\w+\.)*logical_xor
138 numpy\.(\w+\.)*matmul
139 numpy\.(\w+\.)*matvec
140 numpy\.(\w+\.)*maximum
141 numpy\.(\w+\.)*minimum
142 numpy\.(\w+\.)*mod
143 numpy\.(\w+\.)*modf
144 numpy\.(\w+\.)*multiply
145 numpy\.(\w+\.)*negative
146 numpy\.(\w+\.)*nextafter
147 numpy\.(\w+\.)*not_equal
148 numpy\.(\w+\.)*positive
149 numpy\.(\w+\.)*pow
150 numpy\.(\w+\.)*power
151 numpy\.(\w+\.)*rad2deg
152 numpy\.(\w+\.)*radians
153 numpy\.(\w+\.)*reciprocal
154 numpy\.(\w+\.)*remainder
155 numpy\.(\w+\.)*right_shift
156 numpy\.(\w+\.)*rint
157 numpy\.(\w+\.)*sign
158 numpy\.(\w+\.)*signbit
159 numpy\.(\w+\.)*sin
160 numpy\.(\w+\.)*sinh
161 numpy\.(\w+\.)*spacing
162 numpy\.(\w+\.)*sqrt
163 numpy\.(\w+\.)*square
164 numpy\.(\w+\.)*subtract
165 numpy\.(\w+\.)*tan
166 numpy\.(\w+\.)*tanh
167 numpy\.(\w+\.)*true_divide
168 numpy\.(\w+\.)*trunc
169 numpy\.(\w+\.)*vecdot
170 numpy\.(\w+\.)*vecmat
171 numpy\.(\w+\.)*isalnum
172 numpy\.(\w+\.)*isalpha
173 numpy\.(\w+\.)*isdecimal
174 numpy\.(\w+\.)*isdigit
175 numpy\.(\w+\.)*islower
176 numpy\.(\w+\.)*isnumeric
177 numpy\.(\w+\.)*isspace
178 numpy\.(\w+\.)*istitle
179 numpy\.(\w+\.)*isupper
180 numpy\.(\w+\.)*str_len
181 numpy\._core\._methods\.umr_bitwise_count
182 numpy\._core\._umath_tests\.always_error
183 numpy\._core\._umath_tests\.always_error_gufunc
184 numpy\._core\._umath_tests\.always_error_unary
185 numpy\._core\._umath_tests\.conv1d_full
186 numpy\._core\._umath_tests\.cross1d
187 numpy\._core\._umath_tests\.euclidean_pdist
188 numpy\._core\._umath_tests\.indexed_negative
189 numpy\._core\._umath_tests\.inner1d
190 numpy\._core\._umath_tests\.inner1d_no_doc
191 numpy\._core\._umath_tests\.matrix_multiply
192 numpy\.linalg\._umath_linalg\.qr_complete
193 numpy\.linalg\._umath_linalg\.qr_reduced
194 numpy\.linalg\._umath_linalg\.solve
195 numpy\.linalg\._umath_linalg\.solve1