Skip to content

Change indentation size for Pylint #130

@DonJayamanne

Description

@DonJayamanne

From @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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions