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

Method python_version

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

Source from the content-addressed store, hash-verified

594 }
595
596 fn python_version(&self) -> PythonVersion {
597 self.python_version
598 }
599
600 fn report_semantic_error(&self, error: SemanticSyntaxError) {
601 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