René's URL Explorer Experiment


Title: Add mypy_path config option (#2323) by ffigiel · Pull Request #2329 · python/mypy · GitHub

Open Graph Title: Add mypy_path config option (#2323) by ffigiel · Pull Request #2329 · python/mypy

X Title: Add mypy_path config option (#2323) by ffigiel · Pull Request #2329 · python/mypy

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

Open Graph Description: I tried to write a simple test for the new build_lib_path function, but pytest wouldn't pick it up. Help?

X Description: I tried to write a simple test for the new build_lib_path function, but pytest wouldn't pick it up. Help?

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

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:37a39965-2710-05ef-39f9-3d886fd97eee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8BB8:3D55BC:507999:6D76E4:6B0071AA
html-safe-nonce1e6307f64204f5b58438e76adf229ededd7ee248d260d68a1892963170cd6eae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkI4OjNENTVCQzo1MDc5OTk6NkQ3NkU0OjZCMDA3MUFBIiwidmlzaXRvcl9pZCI6IjU0MjI0MTI2NDEyNDUwOTg0MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3aacaff1162694a15e8cd55be59b4f5fe60a98cd5d23e724d83e4b539d4d9321
hovercard-subject-tagpull_request:90894284
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/2329/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/39273953d795b50b3e80a5e2e277551db734f305f4ed0567c058c6e63aaf5bb5/python/mypy/pull/2329
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39273953d795b50b3e80a5e2e277551db734f305f4ed0567c058c6e63aaf5bb5/python/mypy/pull/2329
og:image:altI tried to write a simple test for the new build_lib_path function, but pytest wouldn't pick it up. Help?
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameffigiel
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/2329#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F2329
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%2F2329
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/2329
Reloadhttps://github.com/python/mypy/pull/2329
Reloadhttps://github.com/python/mypy/pull/2329
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
ddfisherhttps://github.com/ddfisher
python:masterhttps://github.com/python/mypy/tree/master
Conversationhttps://github.com/python/mypy/pull/2329
Commits7 (7)https://github.com/python/mypy/pull/2329/commits
Checkshttps://github.com/python/mypy/pull/2329/checks
Files changedhttps://github.com/python/mypy/pull/2329/files
Add mypy_path config option (#2323)https://github.com/python/mypy/pull/2329#top
ddfisherhttps://github.com/ddfisher
python:masterhttps://github.com/python/mypy/tree/master
https://github.com/ffigiel
ffigielhttps://github.com/ffigiel
Oct 25, 2016https://github.com/python/mypy/pull/2329#issue-185237411
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/codecov-io
codecov-iohttps://github.com/codecov-io
Oct 25, 2016https://github.com/python/mypy/pull/2329#issuecomment-256182160
Please reload this pagehttps://github.com/python/mypy/pull/2329
Current coveragehttps://codecov.io/gh/python/mypy/pull/2329?src=pr
#2329https://codecov.io/gh/python/mypy/pull/2329?src=pr
masterhttps://codecov.io/gh/python/mypy/branch/master?src=pr
Codecovhttps://codecov.io?src=pr
d0ea126...fe82138https://codecov.io/gh/python/mypy/compare/d0ea1260ccdf864e8cc5950a10cc82ae2019b594...fe82138dbd9eea4151d9367a4ff6215775cf9183?src=pr
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 25, 2016https://github.com/python/mypy/pull/2329#issuecomment-256188972
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 25, 2016 https://github.com/python/mypy/pull/2329#pullrequestreview-5752678
View reviewed changes https://github.com/python/mypy/pull/2329/files
ddfisherhttps://github.com/ddfisher
https://github.com/python/mypy/pull/2329#pullrequestreview-5752678
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ffigiel
ffigielhttps://github.com/ffigiel
Oct 26, 2016https://github.com/python/mypy/pull/2329#issuecomment-256442768
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 26, 2016 https://github.com/python/mypy/pull/2329#pullrequestreview-5931402
View reviewed changes https://github.com/python/mypy/pull/2329/files
mypy/main.pyhttps://github.com/python/mypy/pull/2329/files#diff-207f26497af1585033935dce5b1b9e3a12f9b98f28a8a8d7bf7bbb1ca88375ae
ddfisherhttps://github.com/ddfisher
Oct 26, 2016https://github.com/python/mypy/pull/2329#discussion_r85202407
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2329
ffigielhttps://github.com/ffigiel
Oct 26, 2016https://github.com/python/mypy/pull/2329#discussion_r85209968
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
a common conventionhttps://github.com/search?utf8=%E2%9C%93&q=exclude+node_modules+extension%3A.cfg&type=Code&ref=searchresults
Please reload this pagehttps://github.com/python/mypy/pull/2329
gvanrossumhttps://github.com/gvanrossum
Oct 26, 2016https://github.com/python/mypy/pull/2329#discussion_r85218021
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2329
ffigielhttps://github.com/ffigiel
Oct 26, 2016https://github.com/python/mypy/pull/2329#discussion_r85221534
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2329
ddfisherhttps://github.com/ddfisher
Oct 26, 2016https://github.com/python/mypy/pull/2329#discussion_r85226430
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 26, 2016 https://github.com/python/mypy/pull/2329#pullrequestreview-5931999
View reviewed changes https://github.com/python/mypy/pull/2329/files
ddfisherhttps://github.com/ddfisher
https://github.com/python/mypy/pull/2329#pullrequestreview-5931999
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 27, 2016https://github.com/python/mypy/pull/2329#issuecomment-256682293
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ffigiel
ffigielhttps://github.com/ffigiel
Oct 28, 2016https://github.com/python/mypy/pull/2329#event-840345363
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-256989461
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ffigiel
ffigielhttps://github.com/ffigiel
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-256993353
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-257003164
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-257004470
Please reload this pagehttps://github.com/python/mypy/pull/2329
October 28, 2016 21:14https://github.com/python/mypy/pull/2329#commits-pushed-c7ed4b2
Allow to specify mypy_path in config (https://github.com/python/mypy/pull/2329/commits/c7ed4b291e0bd53bafbde857b9c827f30cf42245
#2323https://github.com/python/mypy/issues/2323
)https://github.com/python/mypy/pull/2329/commits/c7ed4b291e0bd53bafbde857b9c827f30cf42245
c7ed4b2https://github.com/python/mypy/pull/2329/commits/c7ed4b291e0bd53bafbde857b9c827f30cf42245
Docs on the new stubs_dir config optionhttps://github.com/python/mypy/pull/2329/commits/c7e298d9357ca2895a028f50012b38c89a56007b
c7e298dhttps://github.com/python/mypy/pull/2329/commits/c7e298d9357ca2895a028f50012b38c89a56007b
Accept either a colon or a comma in config.mypy_pathhttps://github.com/python/mypy/pull/2329/commits/5162c0ff5d871328b9211d4e29894c595c8cbac9
5162c0fhttps://github.com/python/mypy/pull/2329/commits/5162c0ff5d871328b9211d4e29894c595c8cbac9
Add a test for mypy_path config settinghttps://github.com/python/mypy/pull/2329/commits/61b5fcde6281490f017974864a4aef03b336264c
61b5fcdhttps://github.com/python/mypy/pull/2329/commits/61b5fcde6281490f017974864a4aef03b336264c
Use os.pathsep instead of a colonhttps://github.com/python/mypy/pull/2329/commits/12ca13702a9787bccc98ff3867c254f5dbf3f40a
12ca137https://github.com/python/mypy/pull/2329/commits/12ca13702a9787bccc98ff3867c254f5dbf3f40a
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-257004720
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ffigiel
ffigielhttps://github.com/ffigiel
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-257006000
@ddfisherhttps://github.com/ddfisher
Please reload this pagehttps://github.com/python/mypy/pull/2329
Use typeshed commit from masterhttps://github.com/python/mypy/pull/2329/commits/4084ac44a1f7fc5afb4931ab4b462f3e7f4b9092
4084ac4https://github.com/python/mypy/pull/2329/commits/4084ac44a1f7fc5afb4931ab4b462f3e7f4b9092
https://github.com/ffigiel
ffigielhttps://github.com/ffigiel
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-257006547
Please reload this pagehttps://github.com/python/mypy/pull/2329
Please reload this pagehttps://github.com/python/mypy/pull/2329
Avoid cross-platform issues with mypy_path separatorshttps://github.com/python/mypy/pull/2329/commits/60dff4bb8a195fe9dd1e041a77d3b35c8862dfad
60dff4bhttps://github.com/python/mypy/pull/2329/commits/60dff4bb8a195fe9dd1e041a77d3b35c8862dfad
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 28, 2016https://github.com/python/mypy/pull/2329#issuecomment-257008454
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 28, 2016 https://github.com/python/mypy/pull/2329#pullrequestreview-6305690
View reviewed changes https://github.com/python/mypy/pull/2329/files/60dff4bb8a195fe9dd1e041a77d3b35c8862dfad
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
a1fca10https://github.com/python/mypy/commit/a1fca1067513277dab1e7384219fc4041eb60c46
Oct 28, 2016https://github.com/python/mypy/pull/2329#event-840519021
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Nov 1, 2016 https://github.com/python/mypy/pull/2329#ref-issue-185083330
Setting module search path in the config file #2323 https://github.com/python/mypy/issues/2323
https://github.com/Herst
Hersthttps://github.com/Herst
Dec 21, 2016 https://github.com/python/mypy/pull/2329#ref-issue-178169119
Add a way to specify MYPYPATH in mypy.ini #2160 https://github.com/python/mypy/issues/2160
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%2F2329
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/mypy/pull/2329/files/e2f026a06ed4b7bfecde9217563b6dfc81f6a9bb
https://github.com/ddfisher
ddfisher https://github.com/ddfisher
https://github.com/python/mypy/pull/2329/files/60dff4bb8a195fe9dd1e041a77d3b35c8862dfad
Please reload this pagehttps://github.com/python/mypy/pull/2329
Please reload this pagehttps://github.com/python/mypy/pull/2329
https://github.com/ffigiel
https://github.com/codecov-io
https://github.com/ddfisher
https://github.com/gvanrossum
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.