title: Python IndentationError on Visual Studio Code
body: <p>I am running across a strange Python error on Visual Studio Code:</p>
  
  <pre><code>    comp:project mia$ python3 restapi.py
      Traceback (most recent call last):
        File "restapi.py", line 2, in &lt;module&gt;
          from adapters import JSONAdapter
        File "/Users/me/project/adapters.py", line 7
      """
        ^
      IndentationError: expected an indented block
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>from flask import Flask, jsonify, request
  from adapters import JSONAdapter
  from chatbot import Chatbot
  </code></pre>
  
  <p>Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/7lFzL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7lFzL.png" alt="enter image description here"></a></p>
  
  <p>Clicking on the small red triangle shows this:</p>
  
  <p><a href="https://i.stack.imgur.com/un2Ej.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/un2Ej.png" alt="enter image description here"></a></p>
  
  <p>That's code that I have deleted now. And yes, I saved the file before executing it, and I even opened the file with another editor to make sure only those three lines were in the file.</p>
  
  <p>However, I don't see an indentation issue on line 7 even with the lines with the red background. </p>
  
  <p>Any clue what's going on here?</p>