Skip to content

Pylint do not work correct. Missing code analysis #751

Closed
@Monk3yDev

Description

@Monk3yDev

Environment data

VS Code version: 1.19.2 and 1.20.0
Python Extension version: 2018.1.0
Python Version: 3.6.4
OS and version: Windows 10

Actual behavior

Pylint do not show all code analysis for Python

Expected behavior

Pylint should show all code analysis for Python file. Currently only errors are displayed.

Steps to reproduce:

Create file bug.py with content below and save. After save expect code analysis like "Too few public methods (1/2) (too-few-public-methods)". However it will not appear.

class TooFewPublicMethods(object):
    def __init__(self):
        self.one = None
        self.two = None

    def bug(self):
        pass

print("Hello World!")

Output from Console window (Help->Developer Tools menu)
Here is output from CMD using pylint command and tested file:
C:\workspace\bug>pylint bug.py
No config file found, using default configuration
************* Module bug
C: 10, 0: Trailing newlines (trailing-newlines)
C: 1, 0: Missing module docstring (missing-docstring)
C: 1, 0: Missing class docstring (missing-docstring)
C: 6, 4: Missing method docstring (missing-docstring)
R: 1, 0: Too few public methods (1/2) (too-few-public-methods)


Your code has been rated at 2.86/10 (previous run: 10.00/10, -7.14)
console
error_ok
visual_studi_code

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