Skip to content

pylint_lint.py returns existing diagnostics unless is_saved=True #603

@casch-at

Description

@casch-at

When I open a file I expect that the file gets linted with pylint, but python_ls.py::m_text_document__did_open() calls self.lint with is_saved=False. pylint_lint.py will return in that case the last diagnostics, which is empty after opening the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions