Make pylint ignore `invalid-sequence-index`