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

Method python_version

crates/ruff_python_parser/tests/fixtures.rs:636–638  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

634 }
635
636 fn python_version(&self) -> PythonVersion {
637 self.python_version
638 }
639
640 fn report_semantic_error(&self, error: SemanticSyntaxError) {
641 self.diagnostics.borrow_mut().push(error);

Callers 6

add_errorMethod · 0.45
check_stmtMethod · 0.45
check_annotationMethod · 0.45
visit_stmtMethod · 0.45
visit_exprMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected