Skip to content

Commit

Permalink
Handle semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
robincaloudis committed Mar 28, 2024
1 parent 345e5a7 commit 7f92ee8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/ruff_python_trivia/src/tokenizer.rs
Expand Up @@ -76,6 +76,7 @@ pub fn lines_after(offset: TextSize, code: &str) -> u32 {
cursor.eat_char('\n');
newlines += 1;
}
';' => continue,
c if is_python_whitespace(c) => {
continue;
}
Expand Down

0 comments on commit 7f92ee8

Please sign in to comment.