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

Fixed bug that results in false negative when raising a value of type… #9425

Closed
wants to merge 1 commit into from

Conversation

erictraut
Copy link
Collaborator

None. This addresses #9423.

Copy link
Contributor

github-actions bot commented Nov 7, 2024

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

jinja (https://github.com/pallets/jinja)
+   /tmp/mypy_primer/projects/jinja/src/jinja2/filters.py:1735:78 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/jinja/src/jinja2/filters.py:1756:84 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/jinja/src/jinja2/utils.py:749:45 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 54 errors, 14 warnings, 0 informations 
+ 57 errors, 14 warnings, 0 informations 

pytest (https://github.com/pytest-dev/pytest)
+   /tmp/mypy_primer/projects/pytest/scripts/prepare-release-pr.py:85:34 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pytest/src/_pytest/fixtures.py:893:83 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pytest/src/_pytest/skipping.py:190:85 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/pytest/src/_pytest/warning_types.py
+   /tmp/mypy_primer/projects/pytest/src/_pytest/warning_types.py:148:61 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pytest/src/_pytest/config/__init__.py:1931:68 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pytest/src/_pytest/config/__init__.py:1937:76 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pytest/src/_pytest/config/__init__.py:1950:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pytest/src/_pytest/mark/__init__.py:275:62 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 765 errors, 43 warnings, 0 informations 
+ 773 errors, 43 warnings, 0 informations 

steam.py (https://github.com/Gobot1234/steam.py)
+   /tmp/mypy_primer/projects/steam.py/poetry_build.py:18:51 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/app.py:106:67 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/app.py:1434:100 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/enums.py:191:79 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/game_server.py:176:94 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/gateway.py:631:45 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/id.py:81:104 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/id.py:84:87 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/state.py:1104:43 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/state.py:1982:107 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/utils.py:572:46 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/bot.py:290:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/bot.py:324:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/commands.py:253:101 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/commands.py:266:106 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/commands.py:270:101 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/commands.py:455:81 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/converters.py:238:96 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/converters.py:288:91 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/converters.py:291:87 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/converters.py:311:87 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/converters.py:386:86 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/ext/tf2/currency.py:84:93 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/steam.py/steam/protobufs/msg.py:108:24 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 8431 errors, 95 warnings, 0 informations 
+ 8455 errors, 95 warnings, 0 informations 

yarl (https://github.com/aio-libs/yarl)
+   /tmp/mypy_primer/projects/yarl/yarl/_url.py:1484:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 239 errors, 11 warnings, 0 informations 
+ 240 errors, 11 warnings, 0 informations 

rich (https://github.com/Textualize/rich)
+   /tmp/mypy_primer/projects/rich/rich/console.py:1485:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/rich/rich/markup.py
+   /tmp/mypy_primer/projects/rich/rich/markup.py:169:32 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/rich/rich/markup.py:176:32 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/rich/rich/markup.py:198:36 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/rich/rich/repr.py
+   /tmp/mypy_primer/projects/rich/rich/repr.py:86:24 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/rich/rich/style.py:531:28 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/rich/rich/style.py:558:28 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 364 errors, 41 warnings, 0 informations 
+ 371 errors, 41 warnings, 0 informations 

pyodide (https://github.com/pyodide/pyodide)
+ /tmp/mypy_primer/projects/pyodide/src/py/_pyodide/_importhook.py
+   /tmp/mypy_primer/projects/pyodide/src/py/_pyodide/_importhook.py:34:24 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pyodide/src/py/_pyodide/_importhook.py:96:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pyodide/src/py/pyodide/http.py:112:80 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pyodide/src/py/pyodide/http.py:417:34 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pyodide/pyodide-build/pyodide_build/build_env.py:247:16 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pyodide/pyodide-build/pyodide_build/build_env.py:255:76 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/pyodide/pyodide-build/pyodide_build/pywasmcross.py:50:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 752 errors, 14 warnings, 0 informations 
+ 759 errors, 14 warnings, 0 informations 

psycopg (https://github.com/psycopg/psycopg)
+ /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/_py_transformer.py
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/_py_transformer.py:252:31 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/connection.py:453:53 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/connection_async.py:493:53 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/conninfo.py
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/conninfo.py:105:48 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/conninfo.py:143:84 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:268:81 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:270:80 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:272:71 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:284:72 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:286:73 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:312:66 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:326:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:367:68 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:383:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:435:73 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:455:67 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:468:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:480:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:482:78 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:515:73 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:556:73 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:598:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:600:78 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:652:70 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/datetime.py:678:64 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg/psycopg/types/numeric.py:348:83 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg_pool/psycopg_pool/null_pool.py:110:49 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg_pool/psycopg_pool/null_pool_async.py:105:49 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg_pool/psycopg_pool/pool.py:203:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg_pool/psycopg_pool/pool_async.py:227:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/psycopg_pool/psycopg_pool/pool_async.py:415:24 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/tests/fix_db.py:144:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/tests/fix_faker.py:165:32 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/psycopg/tests/fix_faker.py:190:32 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 1841 errors, 106 warnings, 0 informations 
+ 1875 errors, 106 warnings, 0 informations 

ibis (https://github.com/ibis-project/ibis)
+   /tmp/mypy_primer/projects/ibis/ibis/util.py:486:82 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/ibis/ibis/backends/__init__.py:1440:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/ibis/ibis/expr/types/relations.py:2692:28 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/ibis/ibis/expr/types/structs.py:270:45 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 7296 errors, 126 warnings, 0 informations 
+ 7300 errors, 126 warnings, 0 informations 

sympy (https://github.com/sympy/sympy)
+   /tmp/mypy_primer/projects/sympy/sympy/printing/preview.py:334:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 42163 errors, 65 warnings, 0 informations 
+ 42164 errors, 65 warnings, 0 informations 

discord.py (https://github.com/Rapptz/discord.py)
+   /tmp/mypy_primer/projects/discord.py/discord/abc.py:1602:114 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/client.py:739:76 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/colour.py:50:58 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/gateway.py:642:62 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/gateway.py:647:62 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/gateway.py:650:93 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/discord.py/discord/object.py
+   /tmp/mypy_primer/projects/discord.py/discord/object.py:97:106 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/discord.py/discord/oggparse.py
+   /tmp/mypy_primer/projects/discord.py/discord/oggparse.py:70:52 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/permissions.py:147:82 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/player.py:208:72 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/shard.py:467:77 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/app_commands/commands.py:846:63 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/app_commands/commands.py:871:59 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/app_commands/commands.py:898:59 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/app_commands/commands.py:1106:70 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/app_commands/transformers.py:641:105 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/discord.py/discord/app_commands/tree.py
+   /tmp/mypy_primer/projects/discord.py/discord/app_commands/tree.py:1134:60 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/ext/commands/converter.py:324:55 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/ext/commands/core.py:746:39 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/ext/commands/core.py:1990:94 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/ext/commands/hybrid.py:357:76 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/discord.py/discord/ext/commands/hybrid.py:368:76 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
- 109 errors, 95 warnings, 0 informations 
+ 131 errors, 95 warnings, 0 informations 

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:301:42 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:634:71 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:674:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:690:20 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:840:80 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:853:76 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:1011:83 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/__init__.py:1124:71 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/dbref.py:91:44 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/bson/son.py:142:55 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/mongo-python-driver/gridfs/asynchronous/grid_file.py
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/asynchronous/grid_file.py:235:86 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/asynchronous/grid_file.py:936:87 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/asynchronous/grid_file.py:1310:85 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/asynchronous/grid_file.py:1317:28 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/asynchronous/grid_file.py:1826:75 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/mongo-python-driver/gridfs/synchronous/grid_file.py
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/synchronous/grid_file.py:235:86 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/synchronous/grid_file.py:932:87 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/synchronous/grid_file.py:1300:85 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/synchronous/grid_file.py:1307:28 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/gridfs/synchronous/grid_file.py:1816:75 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/mongo-python-driver/pymongo/_azure_helpers.py
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/_azure_helpers.py:41:36 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/_azure_helpers.py:49:78 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/mongo-python-driver/pymongo/_gcp_helpers.py
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/_gcp_helpers.py:34:36 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/mongo-python-driver/pymongo/common.py
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/common.py:204:80 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/common.py:296:39 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/common.py:298:38 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/common.py:402:16 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/common.py:422:80 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/compression_support.py:94:78 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/message.py:795:56 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/message.py:1302:56 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/network_layer.py:107:78 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/network_layer.py:156:78 - error: Invalid exception class or object
+     "None" does not derive from BaseException (reportGeneralTypeIssues)
+   /tmp/mypy_primer/projects/mongo-python-driver/pymongo/network_layer.py:365:52 - error: Invalid exception class or object

... (truncated 1180 lines) ...```

@erictraut erictraut closed this Nov 8, 2024
@erictraut erictraut deleted the issue-9423 branch November 8, 2024 00:25
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.

1 participant