Installing My  Py or Py  Lance
1 Installing Py  Lance in Visual Studio Code
2 Installing My  Py in Py  Charm
8.18

Installing MyPy or PyLance🔗

1 Installing PyLance in Visual Studio Code🔗

  • Ensure that the PyLance extension is installed.

  • Open the PyLance settings by clicking the Gear icon on the PyLance entry in the extensions menu, and then selecting settings.

  • Scroll down to way down near the bottom. BOY that’s a long list.

  • Find the Python > Analysis > Type Checking Mode box, and set it to strict.

  • Close the Settings window.

Now, type errors should be highlighted in the editor. Not right? Let me know.

2 Installing MyPy in PyCharm🔗

OOg... I already have MyPy installed on this installation of PyCharm. I’ll have to work with one of you to produce a list of instructions, sigh.