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 and Pep8 both enabled result in a pylint failure to run #65107

Closed
wscullen opened this issue Dec 14, 2018 · 2 comments
Closed

Pylint and Pep8 both enabled result in a pylint failure to run #65107

wscullen opened this issue Dec 14, 2018 · 2 comments
Labels
extensions Issues concerning extensions

Comments

@wscullen
Copy link

  • VSCode Version: 1.30 (both windows 7 and Ubuntu 18.04.1)
  • OS Version: Windows 7, Ubuntu 18.04.1

Steps to Reproduce:

  1. Install Python extension
  2. Create pipenv virtualenv or a venv virtualenv (happens regardless of virtualenv)
  3. Install pylint, pep8 into virtualenv
  4. Enable pylint and pep8 through the User Settings:
  "python.linting.enabled": true,
  "python.linting.pylintEnabled": true,
  "python.linting.lintOnSave": true,
  "python.linting.pep8Enabled": true,
  1. Results in "There was an error in running the linter 'pylint'
    OUTPUT:
    Linting with pylint failed.
TypeError: Converting circular structure to JSON
##########Linting Output - pep8##########
9,80,E,E501:line too long (84 > 79 characters)
13,80,E,E501:line too long (105 > 79 characters)

Disabling one of pylint or pep8 removes the issue.

Was under the impression that multiple linters can be run simulataneously, and have done so with previous builds of Code.

Does this issue occur when all extensions are disabled?: No, this issue specifically relates to the interaction between the Python extension, linting, and the pylint and pep8 linter extensions.

@vscodebot
Copy link

vscodebot bot commented Dec 14, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Dec 14, 2018
@wscullen
Copy link
Author

Duplicate of this issue:
microsoft/vscode-python#3700

Closing.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

1 participant