17woods / snake-game

The backslash is redundant between brackets FLK-E502
Style
Minor
3 months agoa year old
the backslash is redundant between brackets
261            self.y[0] not in range(SIZE, W_SIZE[1] - SIZE)
262
263    def hit_self(self) -> bool:
264        return any(self.x[0] == self.x[i] and self.y[0] == self.y[i]\265            for i in range(3, self.length))
266
267