René's URL Explorer Experiment


Title: Make mypy still check imports with `# type: ignore` comments if the import exists by Michael0x2a · Pull Request #1912 · python/mypy · GitHub

Open Graph Title: Make mypy still check imports with `# type: ignore` comments if the import exists by Michael0x2a · Pull Request #1912 · python/mypy

X Title: Make mypy still check imports with `# type: ignore` comments if the import exists by Michael0x2a · Pull Request #1912 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: This pull request fixes #1911. It also incidentally fixes #1904, which means that we can close #1906 since it's superseded by this pull request. However, this pull request does NOT fix issue #1...

X Description: This pull request fixes #1911. It also incidentally fixes #1904, which means that we can close #1906 since it's superseded by this pull request. However, this pull request does NOT fix issu...

Opengraph URL: https://github.com/python/mypy/pull/1912

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7a41d715-a49d-33bd-173b-66f3fcb4083e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91C6:1652B0:BED01:10077F:6B007FDB
html-safe-nonceb592eaa72adaf3c30c489452b2c3f1c793ea0d28a56a125565ec35b36437c937
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUM2OjE2NTJCMDpCRUQwMToxMDA3N0Y6NkIwMDdGREIiLCJ2aXNpdG9yX2lkIjoiMjgzMzM4OTUzNjEyNDM3MDkwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9e3565b471cfae41b0f69bb03d7daf64ef229c0a61f9f2f3673100c7b95268f8
hovercard-subject-tagpull_request:78049303
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/1912/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/afbe4f954767fa777c02137c47a7a8cbfa723c834cbe794bded7884f49fab7f0/python/mypy/pull/1912
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/afbe4f954767fa777c02137c47a7a8cbfa723c834cbe794bded7884f49fab7f0/python/mypy/pull/1912
og:image:altThis pull request fixes #1911. It also incidentally fixes #1904, which means that we can close #1906 since it's superseded by this pull request. However, this pull request does NOT fix issue #1...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMichael0x2a
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1bc2aa1939001689f5ce935982c10a6138f745c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/1912#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F1912
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F1912
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/1912
Reloadhttps://github.com/python/mypy/pull/1912
Reloadhttps://github.com/python/mypy/pull/1912
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests543 (543)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
Michael0x2a:make-type-ignore-less-severehttps://github.com/Michael0x2a/mypy/tree/make-type-ignore-less-severe
Conversationhttps://github.com/python/mypy/pull/1912
Commits6 (6)https://github.com/python/mypy/pull/1912/commits
Checkshttps://github.com/python/mypy/pull/1912/checks
Files changedhttps://github.com/python/mypy/pull/1912/files
Make mypy still check imports with # type: ignore comments if the import existshttps://github.com/python/mypy/pull/1912#top
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
Michael0x2a:make-type-ignore-less-severehttps://github.com/Michael0x2a/mypy/tree/make-type-ignore-less-severe
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
Jul 19, 2016https://github.com/python/mypy/pull/1912#issue-166435915
Please reload this pagehttps://github.com/python/mypy/pull/1912
#1911https://github.com/python/mypy/issues/1911
#1904https://github.com/python/mypy/issues/1904
#1906https://github.com/python/mypy/pull/1906
#1910https://github.com/python/mypy/issues/1910
Please reload this pagehttps://github.com/python/mypy/pull/1912
MichaelLeeDBXhttps://github.com/MichaelLeeDBX
July 19, 2016 13:55https://github.com/python/mypy/pull/1912#commits-pushed-aa4a585
https://github.com/MichaelLeeDBX
Modify tests to check for correct behaviorhttps://github.com/python/mypy/pull/1912/commits/aa4a585c9e6ff98568259f0869c4027765dbfcb6
aa4a585https://github.com/python/mypy/pull/1912/commits/aa4a585c9e6ff98568259f0869c4027765dbfcb6
https://github.com/MichaelLeeDBX
Prevent ignored modules from being entirely uncheckedhttps://github.com/python/mypy/pull/1912/commits/4e59477796a456362638bb41c6454b4f0dc63e0b
4e59477https://github.com/python/mypy/pull/1912/commits/4e59477796a456362638bb41c6454b4f0dc63e0b
https://github.com/MichaelLeeDBX
Add clarifying note to docs about ignore comments on importshttps://github.com/python/mypy/pull/1912/commits/c3ddcc71c3bf3f0b606e8b0641d7251bc320e7ba
c3ddcc7https://github.com/python/mypy/pull/1912/commits/c3ddcc71c3bf3f0b606e8b0641d7251bc320e7ba
https://github.com/MichaelLeeDBX
Port over unit tests from pull requesthttps://github.com/python/mypy/pull/1912/commits/fcdc3245060a7f31859229c6721225766cc78dc7
python#1906https://github.com/python/mypy/pull/1906
fcdc324https://github.com/python/mypy/pull/1912/commits/fcdc3245060a7f31859229c6721225766cc78dc7
gvanrossumhttps://github.com/gvanrossum
Jul 19, 2016 https://github.com/python/mypy/pull/1912#discussion-diff-71424615
View reviewed changes https://github.com/python/mypy/pull/1912/files/aa4a585c9e6ff98568259f0869c4027765dbfcb6..4e59477796a456362638bb41c6454b4f0dc63e0b#diff-ea1209369af1f6691068ac958d46d42ed5ab3a6d1529f63d891ca9cab58e3998
mypy/build.pyhttps://github.com/python/mypy/pull/1912/files#diff-ea1209369af1f6691068ac958d46d42ed5ab3a6d1529f63d891ca9cab58e3998
gvanrossumhttps://github.com/gvanrossum
Jul 19, 2016https://github.com/python/mypy/pull/1912#discussion_r71424615
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1912
ddfisherhttps://github.com/ddfisher
Jul 19, 2016https://github.com/python/mypy/pull/1912#discussion_r71433351
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1912
gvanrossumhttps://github.com/gvanrossum
Jul 19, 2016https://github.com/python/mypy/pull/1912#discussion_r71437278
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1912
ddfisherhttps://github.com/ddfisher
Jul 19, 2016https://github.com/python/mypy/pull/1912#discussion_r71438067
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1913https://github.com/python/mypy/issues/1913
Please reload this pagehttps://github.com/python/mypy/pull/1912
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 19, 2016 https://github.com/python/mypy/pull/1912#ref-pullrequest-159746196
Warn about unused '# type: ignore' comments #1695 https://github.com/python/mypy/pull/1695
MichaelLeeDBXhttps://github.com/MichaelLeeDBX
July 19, 2016 14:52https://github.com/python/mypy/pull/1912#commits-pushed-2f0f116
https://github.com/MichaelLeeDBX
Fix typos and clarify commentshttps://github.com/python/mypy/pull/1912/commits/2f0f116e074a8ebad249b8e28c82c33e17c2a75e
2f0f116https://github.com/python/mypy/pull/1912/commits/2f0f116e074a8ebad249b8e28c82c33e17c2a75e
https://github.com/MichaelLeeDBX
Fix bug in testshttps://github.com/python/mypy/pull/1912/commits/cbd97d93ca29e3063fa0d1de99e0f428d6e0cb03
cbd97d9https://github.com/python/mypy/pull/1912/commits/cbd97d93ca29e3063fa0d1de99e0f428d6e0cb03
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
a0eadcehttps://github.com/python/mypy/commit/a0eadce5ec5057d21f661f88c5d64a9f46c06392
Jul 19, 2016https://github.com/python/mypy/pull/1912#event-728254653
https://github.com/Michael0x2a
Michael0x2ahttps://github.com/Michael0x2a
July 21, 2016 20:53https://github.com/python/mypy/pull/1912#event-730973941
https://github.co/hiddenchars
https://github.com/python/mypy/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F1912
Please reload this pagehttps://github.com/python/mypy/pull/1912
[BLOCKER] Effect of '# type: ignore' became much more severe after '--warn-unused-ignores' https://github.com/python/mypy/issues/1911
Incremental mode crashes on #type: ignore comment on module when it was previously imported https://github.com/python/mypy/issues/1904
Please reload this pagehttps://github.com/python/mypy/pull/1912
https://github.com/Michael0x2a
https://github.com/ddfisher
https://github.com/gvanrossum
https://github.com/MichaelLeeDBX
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.