MCPcopy Create free account
hub / github.com/astral-sh/ruff / errors

Method errors

crates/ruff_python_parser/src/lib.rs:414–416  ·  view source on GitHub ↗

Returns a list of syntax errors found during parsing.

(&self)

Source from the content-addressed store, hash-verified

412
413 /// Returns a list of syntax errors found during parsing.
414 pub fn errors(&self) -> &[ParseError] {
415 &self.errors
416 }
417
418 /// Returns a list of version-related syntax errors found during parsing.
419 pub fn unsupported_syntax_errors(&self) -> &[UnsupportedSyntaxError] {

Callers 7

formatted_fileFunction · 0.45
test_valid_syntaxFunction · 0.45
test_invalid_syntaxFunction · 0.45
parser_quick_testFunction · 0.45
check_pathFunction · 0.45
lint_fixFunction · 0.45
test_contentsFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_valid_syntaxFunction · 0.36
test_invalid_syntaxFunction · 0.36
parser_quick_testFunction · 0.36
test_contentsFunction · 0.36