Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 6, 2025

Copy link
Contributor Author

github-actions bot commented Aug 6, 2025

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

openlibrary (https://github.com/internetarchive/openlibrary)
- openlibrary/core/helpers.py:26: error: Cannot assign to a type  [misc]
- openlibrary/core/helpers.py:26: error: Incompatible types in assignment (expression has type "None", variable has type "type[BeautifulSoup]")  [assignment]
- openlibrary/core/helpers.py: note: In function "sanitize":
- openlibrary/core/helpers.py:90: error: Function "BeautifulSoup" could always be true in boolean context  [truthy-function]

typeshed-stats (https://github.com/AlexWaygood/typeshed-stats)
+ tests/test_serialize.py:9: error: Library stubs not installed for "bs4"  [import-untyped]
+ tests/test_serialize.py:9: note: Hint: "python3 -m pip install types-beautifulsoup4"
+ tests/test_serialize.py:9: note: (or run "mypy --install-types" to install all missing stub packages)

zulip (https://github.com/zulip/zulip)
+ tools/lib/capitalization.py:5: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/lib/url_preview/parsers/base.py:11: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/lib/url_preview/parsers/base.py:11: note: Hint: "python3 -m pip install types-beautifulsoup4"
+ zerver/lib/url_preview/parsers/generic.py:3: error: Library stubs not installed for "bs4.element"  [import-untyped]
+ tools/tests/test_capitalization_checker.py:3: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/lib/html_to_text.py:3: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/lib/thumbnail.py:9: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/lib/thumbnail.py:10: error: Library stubs not installed for "bs4.formatter"  [import-untyped]
+ zerver/lib/email_notifications.py:16: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/tests/test_middleware.py:4: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/tests/test_middleware.py:73: error: "Never" has no attribute "get"  [attr-defined]
+ zerver/tests/test_middleware.py:78: error: "Never" has no attribute "get"  [attr-defined]
+ zerver/tests/test_middleware.py:205: error: "Never" has no attribute "get"  [attr-defined]
+ zerver/tests/test_middleware.py:222: error: "Never" has no attribute "get"  [attr-defined]
+ zerver/tests/test_middleware.py:232: error: "Never" has no attribute "get"  [attr-defined]
+ zerver/tests/test_markdown.py:11: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/tests/test_auth_backends.py:23: error: Library stubs not installed for "bs4"  [import-untyped]
+ zerver/tests/test_auth_backends.py:24: error: Library stubs not installed for "bs4.element"  [import-untyped]
+ zerver/lib/import_realm.py:13: error: Library stubs not installed for "bs4"  [import-untyped]

steam.py (https://github.com/Gobot1234/steam.py)
+ steam/http.py:525: error: Unused "type: ignore" comment  [unused-ignore]

@srittau srittau merged commit 562fa25 into main Aug 8, 2025
48 checks passed
@srittau srittau deleted the stubsabot/beautifulsoup4 branch August 8, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: stubsabot 🤖 Third-party stub updates by stubsabot 🤖
Projects
None yet
2 participants