Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add reportAny rule #73

Merged
merged 14 commits into from
Feb 12, 2024
Merged

add reportAny rule #73

merged 14 commits into from
Feb 12, 2024

Conversation

DetachHead
Copy link
Owner

fixes #3

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pyp (https://github.com/hauntsaninja/pyp)
+   /tmp/mypy_primer/projects/pyp/pyp.py:12:20 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:67:30 - error: Type of parameter "value" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:81:16 - error: Type of "value" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:107:31 - error: Type of parameter "node" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:108:20 - error: Type of "value" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:108:20 - error: Argument type is Any
+     Argument corresponds to parameter "node" in function "visit" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:110:27 - error: Type of "target" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:141:37 - error: Type of parameter "node" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:143:29 - error: Type of "args" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:148:46 - error: Type of "args" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:148:46 - error: Argument type is Any
+     Argument corresponds to parameter "node" in function "iter_child_nodes" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:151:29 - error: Type of "body" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:178:42 - error: Type of parameter "node" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:181:28 - error: Argument type is Any
+     Argument corresponds to parameter "node" in function "generic_visit" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:525:35 - error: Argument type is Any
+     Argument corresponds to parameter "__o" in function "dir" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:543:13 - error: Return type is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:559:62 - error: Type of "name" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:25 - error: Type of "before" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:25 - error: Argument type is Any
+     Argument corresponds to parameter "before" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:38 - error: Type of "code" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:38 - error: Argument type is Any
+     Argument corresponds to parameter "code" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:49 - error: Type of "after" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:49 - error: Argument type is Any
+     Argument corresponds to parameter "after" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:61 - error: Type of "define_pypprint" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:624:61 - error: Argument type is Any
+     Argument corresponds to parameter "define_pypprint" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:625:8 - error: Type of "explain" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:642:24 - error: Type of "value" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/pyp.py:671:12 - error: Type of "before" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/tests/test_find_names.py:27:46 - error: Argument type is Any
+     Argument corresponds to parameter "__o" in function "dir" (reportAny)
+   /tmp/mypy_primer/projects/pyp/tests/test_pyp.py:33:12 - error: Type of "stdout" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/tests/test_pyp.py:33:12 - error: Type of "decode" is Any (reportAny)
+   /tmp/mypy_primer/projects/pyp/tests/test_pyp.py:33:12 - error: Return type is Any (reportAny)
- 243 errors, 0 warnings, 0 notes 
+ 275 errors, 0 warnings, 0 notes 

PyWinCtl (https://github.com/Kalmat/PyWinCtl)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:32:24 - error: Type of "root" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:89:36 - error: Type of "root" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:89:36 - error: Type of "id" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:91:29 - error: Type of "root" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:119:59 - error: Type of "value" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:154:37 - error: Type of "root" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:281:53 - error: Type of "value" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2035:23 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2035:23 - error: Argument type is Any
+     Argument corresponds to parameter "flags" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2036:28 - error: Type of "input" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2036:28 - error: Argument type is Any
+     Argument corresponds to parameter "input_mode" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2037:31 - error: Type of "initial_state" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2037:31 - error: Argument type is Any
+     Argument corresponds to parameter "initial_state" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2038:29 - error: Type of "icon_pixmap" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2038:29 - error: Argument type is Any
+     Argument corresponds to parameter "icon_pixmap" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2039:29 - error: Type of "icon_window" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2039:29 - error: Argument type is Any
+     Argument corresponds to parameter "icon_window" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2040:24 - error: Type of "icon_x" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2040:24 - error: Argument type is Any
+     Argument corresponds to parameter "icon_x" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2041:24 - error: Type of "icon_y" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2041:24 - error: Argument type is Any
+     Argument corresponds to parameter "icon_y" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2042:27 - error: Type of "icon_mask" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2042:27 - error: Argument type is Any
+     Argument corresponds to parameter "icon_mask" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2043:30 - error: Type of "window_group" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2043:30 - error: Argument type is Any
+     Argument corresponds to parameter "window_group" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2099:39 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2101:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2106:39 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2108:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2113:39 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2115:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2120:39 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2122:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2126:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2128:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2132:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2134:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2139:39 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2141:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2146:39 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2148:35 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2153:43 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2155:43 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2223:21 - error: Type of "min_aspect" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2223:21 - error: Type of "num" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2223:21 - error: Argument type is Any
+     Argument corresponds to parameter "num" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2224:23 - error: Type of "min_aspect" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2224:23 - error: Type of "denum" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2224:23 - error: Argument type is Any
+     Argument corresponds to parameter "denum" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2227:21 - error: Type of "max_aspect" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2227:21 - error: Type of "num" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2227:21 - error: Argument type is Any
+     Argument corresponds to parameter "num" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2228:23 - error: Type of "max_aspect" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2228:23 - error: Type of "denum" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2228:23 - error: Argument type is Any
+     Argument corresponds to parameter "denum" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2231:23 - error: Type of "flags" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2231:23 - error: Argument type is Any
+     Argument corresponds to parameter "flags" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2232:27 - error: Type of "min_width" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2232:27 - error: Argument type is Any
+     Argument corresponds to parameter "min_width" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2233:28 - error: Type of "min_height" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2233:28 - error: Argument type is Any
+     Argument corresponds to parameter "min_height" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2234:27 - error: Type of "max_width" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2234:27 - error: Argument type is Any
+     Argument corresponds to parameter "max_width" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2235:28 - error: Type of "max_height" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2235:28 - error: Argument type is Any
+     Argument corresponds to parameter "max_height" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2236:27 - error: Type of "width_inc" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2236:27 - error: Argument type is Any
+     Argument corresponds to parameter "width_inc" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2237:28 - error: Type of "height_inc" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2237:28 - error: Argument type is Any
+     Argument corresponds to parameter "height_inc" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2240:28 - error: Type of "base_width" is Any (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2240:28 - error: Argument type is Any
+     Argument corresponds to parameter "base_width" in function "__init__" (reportAny)
+   /tmp/mypy_primer/projects/PyWinCtl/src/ewmhlib/_ewmhlib.py:2241:29 - error: Type of "base_height" is Any (reportAny)

... (truncated 97 lines) ...

bidict (https://github.com/jab/bidict)
+   /tmp/mypy_primer/projects/bidict/cachegrind.py:48:44 - error: Type of "filename" is Any (reportAny)
+ /tmp/mypy_primer/projects/bidict/bidict/__init__.py
+   /tmp/mypy_primer/projects/bidict/bidict/__init__.py:93:5 - error: Type of "_obj" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/__init__.py:94:20 - error: Argument type is Any
+     Argument corresponds to parameter "__o" in function "getattr" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:40 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:52:47 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:78:49 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:78:56 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:79:49 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:79:56 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:82:42 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:82:49 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:93:30 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:101:13 - error: Type of "resolved" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:101:24 - error: Type of "__reversed__" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:102:42 - error: Type of "__reversed__" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:137:68 - error: Type of "v" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:148:46 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:270:28 - error: Type of parameter "key" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:270:33 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:538:35 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:541:25 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:541:32 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_base.py:552:41 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:48:23 - error: Type of parameter "instance" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:48:33 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:49:17 - error: Argument type is Any
+     Argument corresponds to parameter "__obj" in function "setattr" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:51:23 - error: Type of parameter "instance" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:51:33 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:51:40 - error: Type of parameter "__owner" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:51:49 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:52:35 - error: Argument type is Any
+     Argument corresponds to parameter "__o" in function "getattr" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:101:9 - error: Type of "node" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:104:13 - error: Type of "node" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:104:28 - error: Argument type is Any
+     Argument corresponds to parameter "__o" in function "getattr" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:117:27 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:235:17 - error: Type of "val" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbase.py:236:23 - error: Argument type is Any
+     Argument corresponds to parameter "__key" in function "__getitem__" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:63:9 - error: Type of "node" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:64:9 - error: Type of "korv" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:64:16 - error: Argument type is Any
+     Argument corresponds to parameter "key" in function "__getitem__" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:66:36 - error: Argument type is Any
+     Argument corresponds to parameter "key" in function "_pop" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:67:34 - error: Argument type is Any
+     Argument corresponds to parameter "key" in function "_pop" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:109:33 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:127:102 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:135:9 - error: Return type is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:135:47 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:136:13 - error: Return type is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:136:83 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:136:92 - error: Type of parameter "args" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:136:98 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:136:108 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:139:24 - error: Return type is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:140:13 - error: Type of "fwdm_dict_view" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:141:13 - error: Type of "fwdm_dict_view_method" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:141:45 - error: Argument type is Any
+     Argument corresponds to parameter "__o" in function "getattr" (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:144:36 - error: Type of "arg" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:147:24 - error: Return type is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:154:13 - error: Type of "arg_dict_view" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/bidict/_orderedbidict.py:155:20 - error: Return type is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/docs/conftest.py:21:67 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:36:25 - error: Type of parameter "args" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:36:31 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:36:40 - error: Type of parameter "kw" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:36:44 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:48:28 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:48:35 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:79:31 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:79:38 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:95:1 - error: Type of "SET_OPS" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:95:10 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:234:30 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/bidict_test_fixtures.py:234:53 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:25:1 - error: Type of "consume" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:25:10 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:52:36 - error: Type of parameter "benchmark" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:52:47 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:55:5 - error: Type of "pedantic" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:59:34 - error: Type of parameter "benchmark" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:59:45 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:62:5 - error: Type of "pedantic" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:66:42 - error: Type of parameter "benchmark" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:66:53 - error: Type of "Any" is Any (reportAny)
+   /tmp/mypy_primer/projects/bidict/tests/microbenchmarks.py:74:5 - error: Type of "pedantic" is Any (reportAny)

... (truncated 141 lines) ...

@DetachHead DetachHead merged commit 8d92bcc into main Feb 12, 2024
10 checks passed
@DetachHead DetachHead deleted the ban-any branch February 12, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

option to ban Any
2 participants