Thanks to visit codestin.com
Credit goes to github.com

Skip to content

.pylintrc "enable=..." has no effect #949

Closed
@tsalinger

Description

@tsalinger

--This issue has been moved from Microsoft/vscode--
Author is @erikthorstenson.

  • VSCode Version: 1.20.1
  • OS Version: Xubuntu 16.04

Steps to Reproduce:

  1. Putting "python.linting.pylintArgs": ["--enable=F,E,W,R,C"] in .vscode/settings.json has desired effect
  2. Putting "enable=C,R,W,E,F" in local .pylintrc has no effect. (To make sure that the .pylintrc file is being used I tried doing "disable" of the same categories, which had the the desired effect.

In other words: "enable" statement in .pylintrc seems to be neglected of overruled by default parameters. Which is not in accordance with the following documentation; https://code.visualstudio.com/docs/python/linting

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-lintingbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions