René's URL Explorer Experiment


Title: exclude key in mypy.ini as a single regex doesn't scale for larger code bases · Issue #10310 · python/mypy · GitHub

Open Graph Title: exclude key in mypy.ini as a single regex doesn't scale for larger code bases · Issue #10310 · python/mypy

X Title: exclude key in mypy.ini as a single regex doesn't scale for larger code bases · Issue #10310 · python/mypy

Description: Feature I'd like the exclude = in mypy.ini to have a saner way to specify a lot of paths that one huge one-line regex. This is a follow-up to #9992 (comment) When trying to use exclude (necessary because mypy 0.800 became much more aggre...

Open Graph Description: Feature I'd like the exclude = in mypy.ini to have a saner way to specify a lot of paths that one huge one-line regex. This is a follow-up to #9992 (comment) When trying to use exclude (necessary b...

X Description: Feature I'd like the exclude = in mypy.ini to have a saner way to specify a lot of paths that one huge one-line regex. This is a follow-up to #9992 (comment) When trying to use exclude (necessa...

Opengraph URL: https://github.com/python/mypy/issues/10310

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"exclude key in mypy.ini as a single regex doesn't scale for larger code bases","articleBody":"**Feature**\r\n\r\nI'd like the `exclude =` in `mypy.ini` to have a saner way to specify a lot of paths that one huge one-line regex.\r\n\r\nThis is a follow-up to https://github.com/python/mypy/pull/9992#issuecomment-816985175\r\n\r\nWhen trying to use `exclude` (necessary because mypy 0.800 became much more aggressive in including paths by default) I ended up with something like:\r\n```\r\nfiles =\r\n    torch,\r\n    caffe2,\r\n    test/test_bundled_images.py,\r\n    test/test_bundled_inputs.py,\r\n    test/test_complex.py,\r\n    ... \u003cmany more paths here>\r\n\r\n#\r\n# `exclude` is a regex, not a list of paths like `files` (sigh)\r\n#\r\nexclude = torch/include/|torch/csrc/|torch/distributed/elastic/agent/server/api.py\r\n```\r\nBoth the `files` and `exclude` list are likely to grow over time. I don't have a strong preference on how `exclude` should work exactly, any pattern that allows breaking the regex into one line per pattern will be fine. E.g.:\r\n```\r\nexclude =\r\n    pattern1|\r\n    pattern2|\r\n    pattern3|\r\n```\r\nUsing `|` or some character other than a comma to indicate that it does not work like `files =` seems like a good idea.","author":{"url":"https://github.com/rgommers","@type":"Person","name":"rgommers"},"datePublished":"2021-04-11T19:36:22Z","url":"https://github.com/python/mypy/issues/10310"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5b329ce2-92b9-27cf-b22f-0068a7d13ea0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8674:29A20E:2228322:2E6CEF0:6B002578
html-safe-noncee3689de16ac00ee95f84954a3d4528f8301d7879449fe706995e573009bd3fde
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Njc0OjI5QTIwRToyMjI4MzIyOjJFNkNFRjA6NkIwMDI1NzgiLCJ2aXNpdG9yX2lkIjoiMzU0OTIyNjgwNDcyNjIxMTk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace1b3865db02cc1bfd27eea7200979168909be2836937db789da85287166c611e
hovercard-subject-tagissue:855389825
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/10310/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ee31957165c8c8f2502198989302312e33594535e4bd62ccbea557af8581f91d/python/mypy/issues/10310
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ee31957165c8c8f2502198989302312e33594535e4bd62ccbea557af8581f91d/python/mypy/issues/10310
og:image:altFeature I'd like the exclude = in mypy.ini to have a saner way to specify a lot of paths that one huge one-line regex. This is a follow-up to #9992 (comment) When trying to use exclude (necessary b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamergommers
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/10310#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F10310
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%2Fissues%2F10310
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/10310
Reloadhttps://github.com/python/mypy/issues/10310
Reloadhttps://github.com/python/mypy/issues/10310
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 requests546 (546)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
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/10310
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/10310
#11329https://github.com/python/mypy/pull/11329
exclude key in mypy.ini as a single regex doesn't scale for larger code baseshttps://github.com/python/mypy/issues/10310#top
#11329https://github.com/python/mypy/pull/11329
https://github.com/nipunn1313
featurehttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22feature%22
https://github.com/rgommers
rgommershttps://github.com/rgommers
on Apr 11, 2021https://github.com/python/mypy/issues/10310#issue-855389825
#9992 (comment)https://github.com/python/mypy/pull/9992#issuecomment-816985175
rgommershttps://github.com/rgommers
featurehttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22feature%22
on Apr 11, 2021https://github.com/python/mypy/issues/10310#event-4578912312
https://github.com/samestep
samestephttps://github.com/samestep
on May 12, 2021https://github.com/python/mypy/issues/10310#issuecomment-840125582
pytorch/pytorch#57967 (comment)https://github.com/pytorch/pytorch/issues/57967#issuecomment-840122782
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Aug 1, 2021https://github.com/python/mypy/issues/10310#issuecomment-890594265
#10903https://github.com/python/mypy/pull/10903
https://github.com/cclauss
cclausshttps://github.com/cclauss
on Aug 2, 2021https://github.com/python/mypy/issues/10310#issuecomment-890722514
pytest allows multiple --ignore options (strings) which are different from --ignore-globhttps://docs.pytest.org/en/6.2.x/example/pythoncollection.html
flake8 --exclude and --extend-excludehttps://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-exclude
nipunn1313https://github.com/nipunn1313
on Oct 13, 2021https://github.com/python/mypy/issues/10310#event-5460068733
Support --exclude more than once on command linehttps://github.com/nipunn1313/mypy/commit/c8d872d59f27bfc2322c75202b3d4007b0cc5b9a
https://docs.github.com/articles/closing-issues-via-commit-messages
c8d872dhttps://github.com/nipunn1313/mypy/commit/c8d872d59f27bfc2322c75202b3d4007b0cc5b9a
Support --exclude more than once on command linehttps://github.com/nipunn1313/mypy/commit/dcc7f3b83e7fe33a80269367b6e2690dac684eeb
https://docs.github.com/articles/closing-issues-via-commit-messages
dcc7f3bhttps://github.com/nipunn1313/mypy/commit/dcc7f3b83e7fe33a80269367b6e2690dac684eeb
https://github.com/nipunn1313
nipunn1313https://github.com/nipunn1313
on Oct 13, 2021https://github.com/python/mypy/issues/10310#issuecomment-942754685
#11329https://github.com/python/mypy/pull/11329
JelleZijlstrahttps://github.com/JelleZijlstra
nipunn1313https://github.com/nipunn1313
on Oct 13, 2021https://github.com/python/mypy/issues/10310#event-5460229663
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on Oct 13, 2021https://github.com/python/mypy/issues/10310#issuecomment-942775957
@nipunn1313https://github.com/nipunn1313
nipunn1313https://github.com/nipunn1313
on Oct 14, 2021https://github.com/python/mypy/issues/10310#event-5466576414
Support --exclude more than once on command linehttps://github.com/nipunn1313/mypy/commit/3083adc02de4e5879f594332d31d552296105d62
https://docs.github.com/articles/closing-issues-via-commit-messages
3083adchttps://github.com/nipunn1313/mypy/commit/3083adc02de4e5879f594332d31d552296105d62
Support --exclude more than once on command linehttps://github.com/nipunn1313/mypy/commit/4dab5a72648b955edc5eb152c7effe2182048b30
https://docs.github.com/articles/closing-issues-via-commit-messages
4dab5a7https://github.com/nipunn1313/mypy/commit/4dab5a72648b955edc5eb152c7effe2182048b30
hauntsaninjahttps://github.com/hauntsaninja
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#11329https://github.com/python/mypy/pull/11329
on Oct 22, 2021https://github.com/python/mypy/issues/10310#event-5502554806
hauntsaninjahttps://github.com/hauntsaninja
on Oct 22, 2021https://github.com/python/mypy/issues/10310#event-5502554907
Support --exclude more than once on command line (#11329)https://github.com/python/mypy/commit/01d6eb82e146a37f2a9d873bdc6f1918e95e5308
#11329https://github.com/python/mypy/pull/11329
https://docs.github.com/articles/closing-issues-via-commit-messages
01d6eb8https://github.com/python/mypy/commit/01d6eb82e146a37f2a9d873bdc6f1918e95e5308
tushar-deepsourcehttps://github.com/tushar-deepsource
on Jan 20, 2022https://github.com/python/mypy/issues/10310#event-5924011410
Support --exclude more than once on command line (python#11329)https://github.com/DeepSourceCorp/mypy/commit/b896b25f9d6d9c43620dbcb5f5bcc3ed440ebef9
python#11329https://github.com/python/mypy/pull/11329
https://docs.github.com/articles/closing-issues-via-commit-messages
b896b25https://github.com/DeepSourceCorp/mypy/commit/b896b25f9d6d9c43620dbcb5f5bcc3ed440ebef9
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/10310
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/10310
nipunn1313https://github.com/nipunn1313
featurehttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22feature%22
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.