ripe-gigabyte-88964
04/05/2023, 5:32 PMwide-midnight-78598
04/05/2023, 6:40 PMripe-gigabyte-88964
04/05/2023, 6:41 PMwide-midnight-78598
04/05/2023, 6:43 PMripe-gigabyte-88964
04/05/2023, 6:45 PMwide-midnight-78598
04/05/2023, 6:46 PMis suspenders any good?It will be once I'm done building it 🙂
just the microsoft provided python extensionsOkay, that's strange - I don't use a venv - and my quick fixes pop up no problem... Hrmmmmm
ripe-gigabyte-88964
04/05/2023, 6:52 PM.vscode/settings.json
?wide-midnight-78598
04/05/2023, 6:53 PMripe-gigabyte-88964
04/05/2023, 7:01 PMpants-plugins
folder seems totally borked, probably because it's a different venv and source root than the rest of my projectwide-midnight-78598
04/05/2023, 7:01 PMripe-gigabyte-88964
04/05/2023, 7:02 PMwide-midnight-78598
04/05/2023, 7:03 PM{
"python.analysis.packageIndexDepths": [
{
"name": "pants",
"depth": 4,
"includeAllSymbols": true
}
]
}
breezy-apple-27122
04/11/2023, 11:53 AMpants export --resolve=python-default --resolve=pytest --resolve=autoflake --resolve=black --resolve=isort --resolve=flake8 --resolve=mypy
to export your venv, then you can configure the .vscode/settings.json
file like this:
{
"python.analysis.typeCheckingMode": "basic",
"python.analysis.indexing": true,
"python.analysis.autoImportCompletions": true,
"python.defaultInterpreterPath": "${workspaceFolder}/dist/export/python/virtualenvs/python-default/3.11.2/pex",
"editor.formatOnSave": true,
"python.formatting.blackArgs": [
"--line-length=120",
"--target-version=py311",
"--include='\\\\.py$'"
],
"python.formatting.blackPath": "${workspaceFolder}/dist/export/python/virtualenvs/black/3.11.2/pex",
"python.formatting.provider": "black",
"python.linting.flake8Enabled": true,
"python.linting.flake8Path": "${workspaceFolder}/dist/export/python/virtualenvs/flake8/3.11.2/pex",
"python.linting.mypyPath": "${workspaceFolder}/dist/export/python/virtualenvs/mypy/3.11.2/pex",
"python.linting.mypyEnabled": true,
"python.linting.mypyArgs": [
"--follow-imports=silent",
"--ignore-missing-imports",
"--show-column-numbers",
"--no-pretty",
"--install-types",
"--namespace-packages",
"--explicit-package-bases"
],
"files.associations": {
"BUILD": "python"
}
}
wide-midnight-78598
04/11/2023, 12:00 PM