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

Method python_file

crates/ty_python_core/src/predicate.rs:333–335  ·  view source on GitHub ↗
(self, db: &'db dyn Db)

Source from the content-addressed store, hash-verified

331 }
332
333 pub fn python_file(self, db: &'db dyn Db) -> PythonFile<'db> {
334 self.program_file(db).python_file(db)
335 }
336
337 pub fn scope(self, db: &'db dyn Db) -> ScopeId<'db> {
338 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