Skip to content

Instantly share code, notes, and snippets.

@roxberry
Last active February 23, 2022 17:20
Show Gist options
  • Save roxberry/23e8bebdaff4c6a62a268e3bb3928541 to your computer and use it in GitHub Desktop.
Save roxberry/23e8bebdaff4c6a62a268e3bb3928541 to your computer and use it in GitHub Desktop.
Python Projects VS Code

Init notes for Python projects in VS Code

  1. venv on M1
    python3 -m venv .venv && source .venv/bin/activate && python -m pip install --upgrade pip
  2. Python extension v2022.0.1814523869 has issues with IDE, downgrade to v2021.11.1422169775 until fixed.
  3. Settings for Python in VS Code
        "python.insidersChannel": "off",
        "python.defaultInterpreterPath": "/usr/bin/python3",
        "python.languageServer": "Default",
        "python.analysis.typeCheckingMode": "strict",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment