Skip to content

Change indentation size for Pylint #129

Closed

Description

From Anton Danylchenko (@1st) on June 12, 2017 14:0

Hello.

I set a setting "editor.tabSize": 2, but pythonVSCode doesn't recognize this settings. I see the error message from the pylint about wrong indentation, something like this:

[pylint] W0311:Bad indentation. Found 6 spaces, expected 12

Tried to find the proper option to pass to the "python.linting.pylintArgs": [] but found nothing. Can you please let me know how to push pylint to check syntax based on the two-space indentation instead of four? Also it will be good to use theeditor.tabSize setting in the pythonVSCode to pass through to the pylint.

Thanks.

Copied from original issue: DonJayamanne/pythonVSCode#1015

Activity

  1. DonJayamanne commented on Nov 13, 2017

    @DonJayamanne
    Author

    Closed in favor of #130

  2. locked as resolved and limited conversation to collaborators on Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions