Skip to content

Can't identify ‘~’ unanimously #2274

@weqopy

Description

@weqopy

Environment data

  • VS Code version: 1.25.1
  • Extension version (available under the Extensions sidebar): 2018.7.1
  • OS and version: macOS High Sierra 10.13.6
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
  • Relevant/affected Python packages and their versions: No

Actual behavior

settings like these:

"python.linting.pylintPath": "~/venv/bin/pylint",
"python.formatting.provider": "black",
"python.formatting.blackPath": "~/venv/bin/black",

pylint works fine but black doesn't:
ex_1

And it works well after I change it to
"python.formatting.blackPath": "Users/Username/venv/bin/black",

Expected behavior

vscode-python should identify ~ all the time.
"python.formatting.blackPath": "~/venv/bin/black", should works well.

Metadata

Metadata

Assignees

Labels

area-formattingbugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priority

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions