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

Method python_version

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

Source from the content-addressed store, hash-verified

622 }
623
624 fn python_version(&self) -> PythonVersion {
625 self.python_version
626 }
627
628 fn report_semantic_error(&self, error: SemanticSyntaxError) {
629 self.diagnostics.borrow_mut().push(error);

Callers 4

add_errorMethod · 0.45
check_annotationMethod · 0.45
visit_exprMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected