René's URL Explorer Experiment


Title: Speed up linting · Issue #444 · microsoft/vscode-python · GitHub

Open Graph Title: Speed up linting · Issue #444 · microsoft/vscode-python

X Title: Speed up linting · Issue #444 · microsoft/vscode-python

Description: Environment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Version: Anaconda 2.7.14 OS and version: mac OS 10.13.2 Actual behavior Updates to Pylint messages are very slow even after saving, it takes several...

Open Graph Description: Environment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Version: Anaconda 2.7.14 OS and version: mac OS 10.13.2 Actual behavior Updates to Pylint messages are very ...

X Description: Environment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Version: Anaconda 2.7.14 OS and version: mac OS 10.13.2 Actual behavior Updates to Pylint messages are very ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Speed up linting","articleBody":"## Environment data\r\nVS Code version:  1.19.0 (1.19.0)\r\nPython Extension version:  0.9.0\r\nPython Version:   Anaconda 2.7.14\r\nOS and version:    mac OS 10.13.2 \r\n\r\n## Actual behavior\r\nUpdates to Pylint messages are very slow even after saving, it takes several seconds for messages to change. For example, if a variable is undefined and then defined, the linter will take several seconds to update it's undefined variable message.\r\n\r\n## Expected  behavior\r\nMessages should update instantly when the linter is run.\r\n\r\n## Steps to reproduce:  \r\n-  Have a Pylint message\r\n-  Fix the error associated with the message\r\n- Save to lint\r\n- Message will take some time to disappear\r\n\r\n## Logs\r\nOutput from ```Python``` output panel  \r\n```\r\n##########Linting Output - pylint##########\r\nNo config file found, using default configuration\r\n************* Module scheduler\r\n304,0,convention,C0303:Trailing whitespace\r\n313,0,convention,C0303:Trailing whitespace\r\n316,0,convention,C0303:Trailing whitespace\r\n1,0,convention,C0111:Missing module docstring\r\n73,0,convention,C0111:Missing function docstring\r\n78,4,convention,C0103:Invalid variable name \"df\"\r\n84,4,convention,C0103:Invalid variable name \"df\"\r\n107,0,convention,C0111:Missing function docstring\r\n114,0,convention,C0103:Invalid argument name \"df\"\r\n114,0,convention,C0111:Missing function docstring\r\n116,11,convention,C0103:Invalid variable name \"c\"\r\n120,0,convention,C0103:Invalid argument name \"m\"\r\n120,0,convention,C0111:Missing function docstring\r\n122,4,refactor,R1705:Unnecessary \"else\" after \"return\"\r\n122,19,error,E1101:Module 'gurobi' has no 'GRB' member\r\n124,21,error,E1101:Module 'gurobi' has no 'GRB' member\r\n135,0,convention,C0111:Missing function docstring\r\n135,21,warning,W0613:Unused argument 'data'\r\n135,27,warning,W0613:Unused argument 'prediction_file'\r\n141,0,convention,C0111:Missing function docstring\r\n141,0,refactor,R0914:Too many local variables (36/15)\r\n164,4,convention,C0103:Invalid variable name \"m\"\r\n164,8,error,E1101:Module 'gurobi' has no 'Model' member\r\n167,4,convention,C0103:Invalid variable name \"x\"\r\n167,53,error,E1101:Module 'gurobi' has no 'GRB' member\r\n168,4,convention,C0103:Invalid variable name \"z\"\r\n169,4,convention,C0103:Invalid variable name \"f\"\r\n184,8,convention,C0103:Invalid variable name \"t\"\r\n188,14,error,E1101:Module 'gurobi' has no 'quicksum' member\r\n202,8,convention,C0122:Comparison should be gb.quicksum([le for le in x.loc[data[PACU_FLAG],:].mul(late_pacu).values.flatten() if le.getCoeff(0) != 0.0]) == 0\r\n202,13,error,E1101:Module 'gurobi' has no 'quicksum' member\r\n209,8,convention,C0103:Invalid variable name \"ti\"\r\n209,12,convention,C0103:Invalid variable name \"t\"\r\n212,12,convention,C0103:Invalid variable name \"r\"\r\n214,22,error,E1101:Module 'gurobi' has no 'quicksum' member\r\n223,9,convention,C0122:Comparison should be x.loc[(p, data.loc[(p, PRIOR_START_TIME)])] == 1\r\n230,8,convention,C0122:Comparison should be gb.quicksum([le for le in x.loc[~data[FIXED_START],:].mul(too_early).values.flatten() if le.getCoeff(0) != 0.0]) == 0\r\n230,13,error,E1101:Module 'gurobi' has no 'quicksum' member\r\n240,15,error,E1101:Module 'gurobi' has no 'GRB' member\r\n245,16,convention,C0103:Invalid variable name \"fv\"\r\n251,16,convention,C0103:Invalid variable name \"zv\"\r\n255,16,convention,C0103:Invalid variable name \"fv\"\r\n260,16,convention,C0103:Invalid variable name \"fv\"\r\n267,16,convention,C0103:Invalid variable name \"p\"\r\n268,23,convention,C0103:Invalid variable name \"t\"\r\n141,0,refactor,R0912:Too many branches (15/12)\r\n141,0,refactor,R0915:Too many statements (55/50)\r\n274,0,convention,C0111:Missing function docstring\r\n275,16,convention,C0121:Comparison to True should be just 'expr' or 'expr is True'\r\n289,0,convention,C0111:Missing function docstring\r\n300,0,convention,C0111:Missing function docstring\r\n2,0,warning,W0611:Unused datetime imported from datetime\r\n\r\n------------------------------------------------------------------\r\nYour code has been rated at 5.46/10 (previous run: 5.36/10, +0.10)\r\n\r\n```   \r\nOutput from ```Console window``` (Help->Developer Tools menu)\r\n```\r\nTypeError: Cannot read property 'TokenType' of undefined\r\n\tat CompletionSource.isPositionInsideStringOrComment (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:115:44)\r\n\tat CompletionSource.\u003canonymous> (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:78:22)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat __awaiter (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:9:71)\r\n\tat Promise (\u003canonymous>)\r\n\tat __awaiter (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:5:12)\r\n\tat CompletionSource.getCompletionResult (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:68:16)\r\n\tat CompletionSource.\u003canonymous> (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:40:39)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat __awaiter (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:9:71)\r\n\r\n(node:13752) DeprecationWarning: Calling an asynchronous function without callback is deprecated.\r\nt.log @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:249\r\n11:18:45.522 console.ts:123 [Extension Host] (node:13752) DeprecationWarning: Calling an asynchronous function without callback is deprecated.\r\nt.log @ console.ts:123\r\n```\r\n","author":{"url":"https://github.com/mfairley","@type":"Person","name":"mfairley"},"datePublished":"2017-12-16T20:25:59Z","url":"https://github.com/microsoft/vscode-python/issues/444"}

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:85228460-7c02-af7d-2400-5d6deda9cb70
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB6E8:41486:6C5C8:8CFBA:6AFE52CA
html-safe-nonce21fe8b28d2bae8eea48cb40716bd643badfb757b297f8fc16a7d822dff6c0ab4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkU4OjQxNDg2OjZDNUM4OjhDRkJBOjZBRkU1MkNBIiwidmlzaXRvcl9pZCI6IjMwMjM2ODgwMjY0OTc2MzUwMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6bc4f60d5c023972746e99a80e7646b76f40823a1a7e6a01563f1fcb7a6d3e89
hovercard-subject-tagissue:282648287
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/444/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6f9dd564d6ea48dc942b05cefdb4542ae4487af2dfe44385e56bde0a799701df/microsoft/vscode-python/issues/444
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6f9dd564d6ea48dc942b05cefdb4542ae4487af2dfe44385e56bde0a799701df/microsoft/vscode-python/issues/444
og:image:altEnvironment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Version: Anaconda 2.7.14 OS and version: mac OS 10.13.2 Actual behavior Updates to Pylint messages are very ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemfairley
hostnamegithub.com
expected-hostnamegithub.com
None3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26
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
release8df44dbe1c8091b38c3e0165c05a1e5c1563762e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/444#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F444
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%2F444
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/444
Reloadhttps://github.com/microsoft/vscode-python/issues/444
Reloadhttps://github.com/microsoft/vscode-python/issues/444
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/444
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/444
Speed up lintinghttps://github.com/microsoft/vscode-python/issues/444#top
https://github.com/MikhailArkhipov
area-lintinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-linting%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/mfairley
Michael Fairley (mfairley)https://github.com/mfairley
on Dec 16, 2017https://github.com/microsoft/vscode-python/issues/444#issue-282648287
https://github.com/DonJayamanne
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Dec 17, 2017https://github.com/microsoft/vscode-python/issues/444#issuecomment-352269445
#447https://github.com/microsoft/vscode-python/issues/447
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
awaiting 1-decisionhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22awaiting%201-decision%22
area-lintinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-linting%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
on Dec 17, 2017https://github.com/microsoft/vscode-python/issues/444#event-1391136403
https://github.com/DonJayamanne
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Dec 17, 2017https://github.com/microsoft/vscode-python/issues/444#issuecomment-352269508
https://github.com/mfairley
Michael Fairley (mfairley)https://github.com/mfairley
on Dec 17, 2017https://github.com/microsoft/vscode-python/issues/444#issuecomment-352282260
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 1, 2018https://github.com/microsoft/vscode-python/issues/444#event-1453647216
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
February 2018https://github.com/microsoft/vscode-python/milestone/3
on Feb 1, 2018https://github.com/microsoft/vscode-python/issues/444#event-1453647533
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 1, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-362380975
Michael Fairley (@mfairley)https://github.com/mfairley
https://github.com/mfairley
Michael Fairley (mfairley)https://github.com/mfairley
on Feb 1, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-362392923
#444 (comment)https://github.com/microsoft/vscode-python/issues/444#issuecomment-362380975
https://github.com/notifications/unsubscribe-auth/AELBAaTmPhrCPaohVVWouBAh7-AHQcTUks5tQhUGgaJpZM4REco7https://github.com/notifications/unsubscribe-auth/AELBAaTmPhrCPaohVVWouBAh7-AHQcTUks5tQhUGgaJpZM4REco7
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 6, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-363266816
Brett Cannon (brettcannon)https://github.com/brettcannon
February 2018https://github.com/microsoft/vscode-python/milestone/3
on Feb 20, 2018https://github.com/microsoft/vscode-python/issues/444#event-1483079022
https://github.com/jeyanthimuthuram
Jeyanthinath Muthuram (jeyanthimuthuram)https://github.com/jeyanthimuthuram
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-367228112
https://github.com/brettcannon
Brett Cannon (brettcannon)https://github.com/brettcannon
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-367451607
Jeyanthinath Muthuram (@jeyanthimuthuram)https://github.com/jeyanthimuthuram
Mikhail Arkhipov (@MikhailArkhipov)https://github.com/MikhailArkhipov
https://github.com/jeyanthimuthuram
Jeyanthinath Muthuram (jeyanthimuthuram)https://github.com/jeyanthimuthuram
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-367454488
Brett Cannon (@brettcannon)https://github.com/brettcannon
Don Jayamanne (@DonJayamanne)https://github.com/DonJayamanne
Mikhail Arkhipov (@MikhailArkhipov)https://github.com/MikhailArkhipov
https://github.com/brettcannon
Brett Cannon (brettcannon)https://github.com/brettcannon
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-367455097
Jeyanthinath Muthuram (@jeyanthimuthuram)https://github.com/jeyanthimuthuram
https://github.com/jeyanthimuthuram
Jeyanthinath Muthuram (jeyanthimuthuram)https://github.com/jeyanthimuthuram
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-367456007
Brett Cannon (@brettcannon)https://github.com/brettcannon
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Feb 21, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-367475386
Jeyanthinath Muthuram (@jeyanthimuthuram)https://github.com/jeyanthimuthuram
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Apr 3, 2018https://github.com/microsoft/vscode-python/issues/444#issuecomment-378117509
#1231https://github.com/microsoft/vscode-python/pull/1231
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 3, 2018https://github.com/microsoft/vscode-python/issues/444#event-1553169297
lockhttps://github.com/apps/lock
on Jul 11, 2018https://github.com/microsoft/vscode-python/issues/444#event-1727772319
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/444
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/444
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
area-lintinghttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-linting%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%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.