From cf1b407207ebaabda7fa61bdc413d28f27c7a57b 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 bc65f2f..2be7a6d 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -369,7 +369,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()