René's URL Explorer Experiment


Title: Allow per-module error codes by ilevkivskyi · Pull Request #13502 · python/mypy · GitHub

Open Graph Title: Allow per-module error codes by ilevkivskyi · Pull Request #13502 · python/mypy

X Title: Allow per-module error codes by ilevkivskyi · Pull Request #13502 · python/mypy

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

Open Graph Description: Fixes #9440 This is a bit non-trivial because I decided to make per-module code act as overrides over main section error codes. This looks more natural no me, rather that putting an adjusted list i...

X Description: Fixes #9440 This is a bit non-trivial because I decided to make per-module code act as overrides over main section error codes. This looks more natural no me, rather that putting an adjusted list i...

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

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:c1e69354-5ada-4d80-0064-2a96270132c7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA09C:78AB8:602DF6:86F314:6B007859
html-safe-noncec471bcb9661761f67835fc76e3133ad1862e6455912b0aac41f44ba9a82524b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDlDOjc4QUI4OjYwMkRGNjo4NkYzMTQ6NkIwMDc4NTkiLCJ2aXNpdG9yX2lkIjoiMTIyMjY2NTc1MjcyMTc5ODAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7bd6098c26dfcfb9b88c0e62b2ef473c2d58b306a4bf216e9e209292953f742b
hovercard-subject-tagpull_request:1036085478
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/13502/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d8a5b148505b88366b7cc509147605bf580504537fe801687dd9d704dedba5c4/python/mypy/pull/13502
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d8a5b148505b88366b7cc509147605bf580504537fe801687dd9d704dedba5c4/python/mypy/pull/13502
og:image:altFixes #9440 This is a bit non-trivial because I decided to make per-module code act as overrides over main section error codes. This looks more natural no me, rather that putting an adjusted list i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16
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
release84e563eb4b55f8fa102f325f117533cee9e3df4a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/13502#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13502
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%2F13502
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/13502
Reloadhttps://github.com/python/mypy/pull/13502
Reloadhttps://github.com/python/mypy/pull/13502
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
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:per-module-error-codeshttps://github.com/ilevkivskyi/mypy/tree/per-module-error-codes
Conversationhttps://github.com/python/mypy/pull/13502
Commits8 (8)https://github.com/python/mypy/pull/13502/commits
Checkshttps://github.com/python/mypy/pull/13502/checks
Files changedhttps://github.com/python/mypy/pull/13502/files
Allow per-module error codeshttps://github.com/python/mypy/pull/13502#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:per-module-error-codeshttps://github.com/ilevkivskyi/mypy/tree/per-module-error-codes
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 24, 2022https://github.com/python/mypy/pull/13502#issue-1350131455
Please reload this pagehttps://github.com/python/mypy/pull/13502
#9440https://github.com/python/mypy/issues/9440
Please reload this pagehttps://github.com/python/mypy/pull/13502
ilevkivskyihttps://github.com/ilevkivskyi
August 24, 2022 22:16https://github.com/python/mypy/pull/13502#commits-pushed-e0f196a
https://github.com/ilevkivskyi
Allow per-module error codeshttps://github.com/python/mypy/pull/13502/commits/e0f196a078f7603779b73784d243e0ea43a21e30
e0f196ahttps://github.com/python/mypy/pull/13502/commits/e0f196a078f7603779b73784d243e0ea43a21e30
https://github.com/ilevkivskyi
Add override tests; better code organizationhttps://github.com/python/mypy/pull/13502/commits/7fd725859400c76913908122fd5ea0bef3ce4fb5
7fd7258https://github.com/python/mypy/pull/13502/commits/7fd725859400c76913908122fd5ea0bef3ce4fb5
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
hauntsaninjahttps://github.com/hauntsaninja
August 24, 2022 23:37https://github.com/python/mypy/pull/13502#event-7254960396
https://github.com/ilevkivskyi
Fix linthttps://github.com/python/mypy/pull/13502/commits/97b01b9de0188b9cee75b1545c8a189a9caee0fb
97b01b9https://github.com/python/mypy/pull/13502/commits/97b01b9de0188b9cee75b1545c8a189a9caee0fb
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 24, 2022https://github.com/python/mypy/pull/13502#issuecomment-1226607437
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 25, 2022https://github.com/python/mypy/pull/13502#issuecomment-1226613949
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13502
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13502
https://github.com/ilevkivskyi
Fix also inline confighttps://github.com/python/mypy/pull/13502/commits/e447300991412c7fdcb308ab53671b0a98e80d0e
e447300https://github.com/python/mypy/pull/13502/commits/e447300991412c7fdcb308ab53671b0a98e80d0e
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 25, 2022https://github.com/python/mypy/pull/13502#issuecomment-1226646454
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/ilevkivskyi
Add more details to docshttps://github.com/python/mypy/pull/13502/commits/8c726b0a0555973888700df1513b6394abfd63be
8c726b0https://github.com/python/mypy/pull/13502/commits/8c726b0a0555973888700df1513b6394abfd63be
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 25, 2022https://github.com/python/mypy/pull/13502#issuecomment-1226653725
@hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13502
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13502
https://github.com/ilevkivskyi
Set options in another place; also guard against accidentally erasing…https://github.com/python/mypy/pull/13502/commits/5191fcbdc21bb1f460f332d712df4ba1479becfa
5191fcbhttps://github.com/python/mypy/pull/13502/commits/5191fcbdc21bb1f460f332d712df4ba1479becfa
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13502
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 25, 2022 https://github.com/python/mypy/pull/13502#pullrequestreview-1084829395
View reviewed changes https://github.com/python/mypy/pull/13502/files/5191fcbdc21bb1f460f332d712df4ba1479becfa
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/13502#pullrequestreview-1084829395
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13502
mypy/errors.pyhttps://github.com/python/mypy/pull/13502/files/5191fcbdc21bb1f460f332d712df4ba1479becfa#diff-eef80074ed3627574b7a784f0e2a4e9d4670e7c2156f559ada501980ea5d1ca2
hauntsaninjahttps://github.com/hauntsaninja
Aug 25, 2022https://github.com/python/mypy/pull/13502#discussion_r954534256
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13502
ilevkivskyihttps://github.com/ilevkivskyi
Aug 25, 2022https://github.com/python/mypy/pull/13502#discussion_r954732944
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/ilevkivskyi
Pass options everywhere; fix corner case and add one more testhttps://github.com/python/mypy/pull/13502/commits/e73637cc9684ef88660914d4faa626156366a1ff
e73637chttps://github.com/python/mypy/pull/13502/commits/e73637cc9684ef88660914d4faa626156366a1ff
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F13502
https://github.com/ilevkivskyi
Remove debugging printhttps://github.com/python/mypy/pull/13502/commits/64f4a0c2f2194593e8fe5514c3e72155e432ff88
64f4a0chttps://github.com/python/mypy/pull/13502/commits/64f4a0c2f2194593e8fe5514c3e72155e432ff88
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Aug 25, 2022 https://github.com/python/mypy/pull/13502#pullrequestreview-1085351803
View reviewed changes https://github.com/python/mypy/pull/13502/files/e73637cc9684ef88660914d4faa626156366a1ff
JukkaLhttps://github.com/JukkaL
https://github.com/python/mypy/pull/13502#pullrequestreview-1085351803
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 25, 2022https://github.com/python/mypy/pull/13502#issuecomment-1227221988
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
d68b1c6https://github.com/python/mypy/commit/d68b1c657c4a02502ad0ccc1d33a1075753211e8
Aug 25, 2022https://github.com/python/mypy/pull/13502#event-7259552940
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
August 25, 2022 13:31https://github.com/python/mypy/pull/13502#event-7259553425
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 25, 2022 https://github.com/python/mypy/pull/13502#ref-issue-854904071
Allow error-code specific whole-file # type: ignores #10304 https://github.com/python/mypy/issues/10304
hauntsaninjahttps://github.com/hauntsaninja
Aug 25, 2022 https://github.com/python/mypy/pull/13502#ref-commit-9dd525d
https://github.com/hauntsaninja
Warn on module level type ignore with error codehttps://github.com/hauntsaninja/mypy/commit/9dd525df131a50ef7e843048437c7f532948f3f4
9dd525dhttps://github.com/hauntsaninja/mypy/commit/9dd525df131a50ef7e843048437c7f532948f3f4
python#13502https://github.com/python/mypy/pull/13502
python#13435https://github.com/python/mypy/issues/13435
python#12076https://github.com/python/mypy/issues/12076
python#11999https://github.com/python/mypy/issues/11999
python#11027https://github.com/python/mypy/issues/11027
python#9318https://github.com/python/mypy/issues/9318
python#7839https://github.com/python/mypy/issues/7839
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 25, 2022 https://github.com/python/mypy/pull/13502#ref-pullrequest-1351221467
Warn on module level type ignore with error code #13512 https://github.com/python/mypy/pull/13512
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Aug 26, 2022 https://github.com/python/mypy/pull/13502#ref-issue-1352091801
Regression on master: mypy unconditionally crashes when used with --enable-error-code for multiple error codes #13521 https://github.com/python/mypy/issues/13521
hauntsaninjahttps://github.com/hauntsaninja
Aug 26, 2022 https://github.com/python/mypy/pull/13502#ref-commit-da56c97
https://github.com/hauntsaninja
Warn on module level type ignore with error code (https://github.com/python/mypy/commit/da56c974a57688f5c7989ef3abd86cd1d1608793
#13512https://github.com/python/mypy/pull/13512
)https://github.com/python/mypy/commit/da56c974a57688f5c7989ef3abd86cd1d1608793
da56c97https://github.com/python/mypy/commit/da56c974a57688f5c7989ef3abd86cd1d1608793
#13502https://github.com/python/mypy/pull/13502
#13435https://github.com/python/mypy/issues/13435
#12076https://github.com/python/mypy/issues/12076
#11999https://github.com/python/mypy/issues/11999
#11027https://github.com/python/mypy/issues/11027
#9318https://github.com/python/mypy/issues/9318
#7839https://github.com/python/mypy/issues/7839
ilevkivskyihttps://github.com/ilevkivskyi
Sep 9, 2022 https://github.com/python/mypy/pull/13502#ref-commit-1f80611
https://github.com/ilevkivskyi
Allow per-module error codes (https://github.com/python/mypy/commit/1f8061167faac10c02eafba260f6ab8543496f90
#13502https://github.com/python/mypy/pull/13502
)https://github.com/python/mypy/commit/1f8061167faac10c02eafba260f6ab8543496f90
1f80611https://github.com/python/mypy/commit/1f8061167faac10c02eafba260f6ab8543496f90
#9440https://github.com/python/mypy/issues/9440
hauntsaninjahttps://github.com/hauntsaninja
Jun 13, 2024 https://github.com/python/mypy/pull/13502#ref-commit-d83ee5e
https://github.com/hauntsaninja
Use inline error codes in the optional docshttps://github.com/hauntsaninja/mypy/commit/d83ee5ed4a2ec3831a0203e7ee054311eed07bab
d83ee5ehttps://github.com/hauntsaninja/mypy/commit/d83ee5ed4a2ec3831a0203e7ee054311eed07bab
python#13502https://github.com/python/mypy/pull/13502
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jun 13, 2024 https://github.com/python/mypy/pull/13502#ref-pullrequest-2350339107
Use inline config in the optional error codes docs #17374 https://github.com/python/mypy/pull/17374
JukkaLhttps://github.com/JukkaL
Jun 14, 2024 https://github.com/python/mypy/pull/13502#ref-commit-5dd062a
https://github.com/hauntsaninja
Use inline config in the optional error codes docs (https://github.com/python/mypy/commit/5dd062a14b2d2c9b5c73fd266f166f4031e746a1
#17374https://github.com/python/mypy/pull/17374
)https://github.com/python/mypy/commit/5dd062a14b2d2c9b5c73fd266f166f4031e746a1
5dd062ahttps://github.com/python/mypy/commit/5dd062a14b2d2c9b5c73fd266f166f4031e746a1
#13502https://github.com/python/mypy/pull/13502
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%2F13502
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/13502/files/e73637cc9684ef88660914d4faa626156366a1ff
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/13502/files/5191fcbdc21bb1f460f332d712df4ba1479becfa
Please reload this pagehttps://github.com/python/mypy/pull/13502
Add support for per-module enabling/disabling of error codes https://github.com/python/mypy/issues/9440
Please reload this pagehttps://github.com/python/mypy/pull/13502
https://github.com/ilevkivskyi
https://github.com/JukkaL
https://github.com/hauntsaninja
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.