René's URL Explorer Experiment


Title: mypy errors are always attributed to beginning of line · Issue #3597 · microsoft/vscode-python · GitHub

Open Graph Title: mypy errors are always attributed to beginning of line · Issue #3597 · microsoft/vscode-python

X Title: mypy errors are always attributed to beginning of line · Issue #3597 · microsoft/vscode-python

Description: When I enable mypy linting, all errors are attributed to the beginning of the line (column 0) like this: By default, mypy doesn't emit any column information, but it can be configured to do so using the show_column_numbers option in the ...

Open Graph Description: When I enable mypy linting, all errors are attributed to the beginning of the line (column 0) like this: By default, mypy doesn't emit any column information, but it can be configured to do so usin...

X Description: When I enable mypy linting, all errors are attributed to the beginning of the line (column 0) like this: By default, mypy doesn't emit any column information, but it can be configured to do so ...

Opengraph URL: https://github.com/microsoft/vscode-python/issues/3597

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy errors are always attributed to beginning of line","articleBody":"When I enable mypy linting, all errors are attributed to the beginning of the line (column 0) like this:\r\n\r\n![screen shot 2018-12-07 at 9 16 48 pm](https://user-images.githubusercontent.com/10472315/49682243-01e20d00-fa66-11e8-92d0-6cdc2c405a79.png)\r\n\r\nBy default, mypy doesn't emit any column information, but it can be configured to do so using the `show_column_numbers` option in the configuration file or command line. If column information is emitted, the output parser should be able to take advantage of this additional information.\r\n\r\nI was able to fix this by changing the REGEX in mypy.ts to the following:\r\n```\r\nexport const REGEX = '(?\u003cfile>[^:]+):(?\u003cline>\\\\d+)(:(?\u003ccolumn>\\\\d+))?: (?\u003ctype>\\\\w+): (?\u003cmessage>.*)\\\\r?(\\\\n|$)';\r\n```\r\n\r\nWith this change — and with `show_column_numbers` enabled, the red squiggles now correctly highlight the errant code, making the tool significantly more useful.\r\n\r\n![screen shot 2018-12-07 at 9 17 21 pm](https://user-images.githubusercontent.com/10472315/49682278-8fbdf800-fa66-11e8-9a7d-9f3b60a97f61.png)\r\n\r\nThe proposed change works both with and without `show_column_numbers` enabled.\r\n\r\nIf this fix is acceptable, I'm happy to submit a PR.\r\n\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.29.1\r\n- Extension version: master branch built on 7 Dec, 2018\r\n","author":{"url":"https://github.com/msfterictraut","@type":"Person","name":"msfterictraut"},"datePublished":"2018-12-08T05:28:00Z","url":"https://github.com/microsoft/vscode-python/issues/3597"}

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:7ce866ee-6724-b97c-46fa-321a3f375463
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F0A:14B836:BEF946:FF1692:6B004D6C
html-safe-nonce4793df73f762d4135b6e33fdfd527a92bb4d57e57559bb813793b4c132e5d7fa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjBBOjE0QjgzNjpCRUY5NDY6RkYxNjkyOjZCMDA0RDZDIiwidmlzaXRvcl9pZCI6IjM5MzI1NzY1NjMxNTcwMjgyMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4572f966578286cfef1bb4183dbd7ee765d6c750bd59c011b36c8b597ccd92e6
hovercard-subject-tagissue:388887910
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/microsoft/vscode-python/3597/issue_layout
twitter:imagehttps://opengraph.githubassets.com/40e9b95bee95d1b19e2df5aa7c3369fbe5a394d9ad64de3905c9dbf1506e6878/microsoft/vscode-python/issues/3597
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/40e9b95bee95d1b19e2df5aa7c3369fbe5a394d9ad64de3905c9dbf1506e6878/microsoft/vscode-python/issues/3597
og:image:altWhen I enable mypy linting, all errors are attributed to the beginning of the line (column 0) like this: By default, mypy doesn't emit any column information, but it can be configured to do so usin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemsfterictraut
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id106462765
octolytics-dimension-repository_nwomicrosoft/vscode-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id49946255
octolytics-dimension-repository_parent_nwoDonJayamanne/pythonVSCode
octolytics-dimension-repository_network_root_id49946255
octolytics-dimension-repository_network_root_nwoDonJayamanne/pythonVSCode
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
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/3597#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F3597
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%2Fmicrosoft%2Fvscode-python%2Fissues%2F3597
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=microsoft%2Fvscode-python
Reloadhttps://github.com/microsoft/vscode-python/issues/3597
Reloadhttps://github.com/microsoft/vscode-python/issues/3597
Reloadhttps://github.com/microsoft/vscode-python/issues/3597
microsofthttps://github.com/microsoft
vscode-pythonhttps://github.com/microsoft/vscode-python
Codehttps://github.com/microsoft/vscode-python
Issues344 (344)https://github.com/microsoft/vscode-python/issues
Pull requests54 (54)https://github.com/microsoft/vscode-python/pulls
Discussionshttps://github.com/microsoft/vscode-python/discussions
Actionshttps://github.com/microsoft/vscode-python/actions
Wikihttps://github.com/microsoft/vscode-python/wiki
Security and quality2 (2)https://github.com/microsoft/vscode-python/security
Insightshttps://github.com/microsoft/vscode-python/insights
https://github.com/microsoft/vscode-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/3597
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/3597
mypy errors are always attributed to beginning of linehttps://github.com/microsoft/vscode-python/issues/3597#top
area-lintinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-linting%22
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
importantIssue identified as high-priorityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22important%22
2018, week 50 - Dec sprint 2https://github.com/microsoft/vscode-python/milestone/21
https://github.com/msfterictraut
Eric Traut (msfterictraut)https://github.com/msfterictraut
on Dec 8, 2018https://github.com/microsoft/vscode-python/issues/3597#issue-388887910
https://user-images.githubusercontent.com/10472315/49682243-01e20d00-fa66-11e8-92d0-6cdc2c405a79.png
https://user-images.githubusercontent.com/10472315/49682278-8fbdf800-fa66-11e8-9a7d-9f3b60a97f61.png
Brett Cannon (brettcannon)https://github.com/brettcannon
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Dec 10, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2016771904
Brett Cannon (brettcannon)https://github.com/brettcannon
triagehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage%22
on Dec 10, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2016772180
https://github.com/DonJayamanne
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Dec 13, 2018https://github.com/microsoft/vscode-python/issues/3597#issuecomment-447058853
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
area-lintinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-linting%22
needs PRhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22needs%20PR%22
triagehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage%22
on Dec 13, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2024894152
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Dec 13, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2024894262
Brett Cannon (brettcannon)https://github.com/brettcannon
importantIssue identified as high-priorityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22important%22
external contributorhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22external%20contributor%22
on Dec 14, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2027522302
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Dec 18, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2034272691
Add column support to mypy (#3699)https://github.com/microsoft/vscode-python/commit/7de3383ee4940c3f7101893e38b7620306637336
#3699https://github.com/microsoft/vscode-python/pull/3699
7de3383https://github.com/microsoft/vscode-python/commit/7de3383ee4940c3f7101893e38b7620306637336
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
2018, week 50 - Dec sprint 2https://github.com/microsoft/vscode-python/milestone/21
on Dec 18, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2034339316
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 18, 2018https://github.com/microsoft/vscode-python/issues/3597#event-2034389657
lockhttps://github.com/apps/lock
on Jan 16, 2019https://github.com/microsoft/vscode-python/issues/3597#event-2076133013
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/3597
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/3597
area-lintinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-linting%22
feature-requestRequest for new features or functionalityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22feature-request%22
importantIssue identified as high-priorityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22important%22
2018, week 50 - Dec sprint 2https://github.com/microsoft/vscode-python/milestone/21
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.