From ad44e9fb653a074249c5494b750a971274c1cbd9 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Fri, 13 Jun 2025 13:48:27 +0100 Subject: [PATCH] Add a type hint for `db.close()` 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 bc65f2f5..2be7a6d4 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -369,7 +369,7 @@ def __init__( 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()