From bd78966f1e1173feef5aa432122d5e11d0221aa2 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Wed, 1 Oct 2025 21:37:05 +0100 Subject: [PATCH] Add a type hint for `db.close()` (#663) Closes #662 --- sqlite_utils/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index ef8c40e..f524e13 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -368,7 +368,7 @@ class Database: pm.hook.prepare_connection(conn=self.conn) self.strict = strict - def close(self): + def close(self) -> None: "Close the SQLite connection, and the underlying database file" self.conn.close()