Skip to content

Add VIRTUENV_BIN to the list of supported predefined variables to resolve linter settings #92

@jnoortheen

Description

@jnoortheen

I am using flakehell as the runner for flake8 . I am able to configure it using

"python.linting.flake8Path": "~/.local/share/virtualenvs/proj/bin/flake8helled",

But I had to give the full path. It would be nice to have this variable to the list of predefined-variables. So it will work with different venvs and no need to change it every time.

So the above setting can be simplified like

"python.linting.flake8Path": "${VIRTUENV_BIN}/flake8helled",

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions