diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 15:33:27 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 15:33:27 +0200 |
| commit | b1d66075b13c40606bb2d0bd8f90275b8f2e8abb (patch) | |
| tree | 95d5a5ef6b9e452fae3932699834930f1895cee9 /test/src/lib/db.py | |
| parent | workflows/ci: add Python linting (diff) | |
| download | cimple-b1d66075b13c40606bb2d0bd8f90275b8f2e8abb.tar.gz cimple-b1d66075b13c40606bb2d0bd8f90275b8f2e8abb.zip | |
workflows/ci: use default Black settings
Diffstat (limited to 'test/src/lib/db.py')
| -rw-r--r-- | test/src/lib/db.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/lib/db.py b/test/src/lib/db.py index de6960a..0e47901 100644 --- a/test/src/lib/db.py +++ b/test/src/lib/db.py @@ -10,8 +10,8 @@ import sqlite3 class Database: def __init__(self, path): - logging.info('Opening SQLite database: %s', path) - self.conn = sqlite3.connect(f'file:{path}?mode=ro', uri=True) + logging.info("Opening SQLite database: %s", path) + self.conn = sqlite3.connect(f"file:{path}?mode=ro", uri=True) def __enter__(self): return self @@ -26,5 +26,5 @@ class Database: def get_all_runs(self): with self.get_cursor() as cur: - cur.execute('SELECT * FROM cimple_runs_view') + cur.execute("SELECT * FROM cimple_runs_view") return cur.fetchall() |
