title: How do you protect yourself from missing comma in vertical string list in python?
body: <p>In python, it's common to have vertically-oriented lists of string. For example:</p>
  
  <pre><code>subprocess.check_output( [
    'application',
    '-first-flag',
    '-second-flag',
    '-some-additional-flag'
  ] )
  </code></pre>
  
  <p>This looks good, readable, don't violate 80-columns rule... But if comma is missed, like this:</p>
  
  <pre><code>subprocess.check_output( [
    'application',
    '-first-flag'  # missed comma here
    '-second-flag',
    '-some-additional-flag'
  ] )
  </code></pre>
  
  <p>Python will still assume this code valid by concatenating two stings :(. Is it possible to somehow safeguard yourself from such typos while still using vertically-oriented string lists and without bloating code (like enveloping each items inside <code>str()</code>)?</p>