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

Method python_file

crates/ty_python_core/src/expression.rs:175–177  ·  view source on GitHub ↗
(self, db: &'db dyn Db)

Source from the content-addressed store, hash-verified

173 }
174
175 pub fn python_file(self, db: &'db dyn Db) -> PythonFile<'db> {
176 self.scope_id(db).python_file(db)
177 }
178
179 pub fn program_file(self, db: &'db dyn Db) -> ProgramFile<'db> {
180 self.scope_id(db).program_file(db)

Callers

nothing calls this directly

Calls 1

scope_idMethod · 0.45

Tested by

no test coverage detected