title: Expected expression Pylance
body: <p>First off I'm new to using the jupyter notebook on vscode, so apologise for the basic question.</p>
  <p>I'm playing around with Python's and NumPy's methods to compare their performance:</p>
  <pre class="lang-py prettyprint-override"><code>import numpy as np
  
  massive_array = np.random.random(100000)
  
  %timeit sum(massive_array) # Python's sum()
  %timeit np.sum(massive_array) # NumPy's np.sum()
  </code></pre>
  <p>Which works fine and returns the following:</p>
  <pre><code>9.56 ms ± 523 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
  51.9 µs ± 1.59 µs per loop (mean ± std. dev. of 7 runs, 10,000 loops each)
  </code></pre>
  <p>The only problem is that, while using the notebook on vscode, I get an error flagged by <code>Pylance</code> regarding the percentage symbol for <code>%timeit</code>:</p>
  <p><a href="https://i.stack.imgur.com/oyotG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oyotG.png" alt="enter image description here" /></a></p>
  <p>What's the reason for it to be flagged? Shouldn't that be a valid expression, given that it also executed successfully?</p>
  <p>Any input is highly appreciated, thank you so much in advance!</p>