title: How to format long SQL queries according to PEP8
body: <p>According to <a href="https://www.python.org/dev/peps/pep-0008/#maximum-line-length" rel="noreferrer">PEP 8 (Maximum Line Length)</a>, a line should never be longer than 79 characters. </p>
  
  <p>When I try to split up queries, however, I run into issues like continuation characters, and invalid tokens, etc.</p>
  
  <p>For example, what would be the best way to format this query, according to PEP8?</p>
  
  <pre><code>cursor.execute("SELECT pivot_id FROM aud_qty WHERE hshake1 is NULL AND ((strftime('%s', DATETIME('now')) - strftime('%s', sent_to_pivot)) / (60)) &gt; 30;")
  </code></pre>