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

Method python_file

crates/ty_python_core/src/statement.rs:64–66  ·  view source on GitHub ↗
(self, db: &'db dyn Db)

Source from the content-addressed store, hash-verified

62 }
63
64 pub fn python_file(self, db: &'db dyn Db) -> PythonFile<'db> {
65 self.program_file(db).python_file(db)
66 }
67
68 pub fn scope(self, db: &'db dyn Db) -> ScopeId<'db> {
69 self.file_scope(db).to_scope_id(db, self.program_file(db))

Callers

nothing calls this directly

Calls 1

program_fileMethod · 0.45

Tested by

no test coverage detected