Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyLint checks wrong files #916

Closed
osya opened this issue Feb 28, 2018 · 1 comment
Closed

PyLint checks wrong files #916

osya opened this issue Feb 28, 2018 · 1 comment
Assignees
Labels
area-linting bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@osya
Copy link

osya commented Feb 28, 2018

Environment data

  • VS Code version: 1.20.1
  • Python Extension version: 2018.1.0
  • Python Version: 3.6.3
  • OS and version: Windows 10 x64 Pro

Actual behavior

On some my of Python projects in VS Code strange messages appears in Problems window:
scr. What is the path git:...? After git: there is a correct path to the existing file, which contains in the current project. This file has no any PyLint issues. I can't clear up these wrong messages, only restart VS Code.

Expected behavior

There should not be pylint messages in the Problems window for files with paths started from git:

Steps to reproduce:

I don't know. It just appears sometimes in my several projects

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

##########Linting Output - pep8##########
##########Linting Output - pep8##########
##########Linting Output - pep8##########
##########Linting Output - pylint##########
##########Linting Output - pep8##########
##########Linting Output - pylint##########
##########Linting Output - pylint##########
##########Linting Output - pep8##########
##########Linting Output - pylint##########
No config file found, using default configuration
************* Module post.admin
1,0,convention,C0111:Missing module docstring
8,0,convention,C0111:Missing class docstring

------------------------------------------------------------------

Your code has been rated at 6.67/10 (previous run: 6.67/10, +0.00)



##########Linting Output - pylint##########
Using config file e:\Work\web-frameworks\Python\Django\personal_website\.pylintrc

--------------------------------------------------------------------

Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

[C:\Users\info_000\.vscode\extensions\fknop.vscode-npm-3.3.0]: Command `npm-script.start` appears multiple times in the `commands` section.
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\fknop.vscode-npm-3.3.0]: Command `npm-script.test` appears multiple times in the `commands` section.
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\ms-python.python-2018.1.0]: Command `jupyter.runSelectionLine` appears multiple times in the `commands` section.
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\ms-python.python-2018.1.0]: Command `jupyter.execCurrentCell` appears multiple times in the `commands` section.
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\ms-python.python-2018.1.0]: Command `jupyter.execCurrentCellAndAdvance` appears multiple times in the `commands` section.
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\ms-python.python-2018.1.0]: Command `jupyter.gotToPreviousCell` appears multiple times in the `commands` section.
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\ms-python.python-2018.1.0]: Command `jupyter.gotToNextCell` appears multiple times in the `commands` section.
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  jsonToTs.fromClipboard
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  jsonToTs.fromSelection
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  code-runner.run
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  code-runner.runCustomCommand
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  code-runner.runByLanguage
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  code-runner.stop
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  docthis.documentThis
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  hexdump.hexdumpOpen
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  hexdump.toggleEndian
e._assertNoCtrlAlt @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1409
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\xabikos.javascriptsnippets-1.5.0]: Unknown language in `contributes.JavaScriptSnippets.language`. Provided value: vue
R._logMessageInConsole @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183 [C:\Users\info_000\.vscode\extensions\xabikos.reactsnippets-1.7.0]: Unknown language in `contributes.ReactSnippets.language`. Provided value: jsx
R._logMessageInConsole @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4183
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] TypeDefinition null
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] Congratulations, your extension "angular2-switcher" is now active!
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] vscode-icons is active!
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] Sync : Connected with user : 'osya'
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] onDidChangeConfiguration
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] (node:25228) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
t.log @ /E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1306   ERR undefined
/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1306   ERR SplitLinesCollection: attempt to access a 'newer' model: Error: SplitLinesCollection: attempt to access a 'newer' model
    at e._ensureValidState (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1097:726)
    at e.convertModelPositionToViewPosition (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1106:246)
    at e.convertModelPositionToViewPosition (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1096:706)
    at e._setPosition (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:704:656)
    at e.setPosition (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:704:911)
    at t.setWidgetPosition (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:701:1004)
    at t.layoutContentWidget (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1784:103)
    at t.layoutContentWidget (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1787:996)
    at e.update (file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1867:611)
    at file:///E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1870:634
3/E:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:253 [Extension Host] onDidChangeConfiguration
@MikhailArkhipov
Copy link

29a0cae

@lock lock bot locked as resolved and limited conversation to collaborators Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-linting bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants