linter: Remove redundant conditional
Remove the redundant conditional used when reporting a syntax error at the same location as a cosmetic problem. Also reword the comment explaining the logic to more accurately describe the situation. This eliminates an unreachable `syntax_error = None` assignment.pull/470/head
parent
9700525496
commit
bdbec7dc4d
Loading…
Reference in New Issue