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",