Skip to content

Commit

Permalink
Pass arguments in the correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila committed Sep 12, 2023
1 parent e6946ee commit 8f2c36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff/src/linter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ pub fn check_path(
if use_ast || use_imports || use_doc_lines {
match ruff_python_parser::parse_program_tokens(
tokens,
&path.to_string_lossy(),
source_kind.source_code(),
&path.to_string_lossy(),
source_type.is_ipynb(),
) {
Ok(python_ast) => {
Expand Down

0 comments on commit 8f2c36c

Please sign in to comment.