 <p>It was expecting maybe like this</p> <pre><code>RULES_LIST = [ ('Name1', 1, 'Long string upto 40 chars'), ('Name2', 2, 'Long string upto 40 chars'), ('Name3', 3, 'Long string upto 40 chars'), ('Name4', 4, 'Long string upto 40 chars'), ('Name5', 5, 'Long string upto 40 chars'), ('Name6', 6, 'Long string upto 40 chars'), ('Name7', 7, 'Long string upto 40 chars'), ('Name8', 8, 'Long string upto 40 chars') ] </code></pre> <p>the closing square bracket.</p>