From 9193b28cb7e01ac85cd50f2ea5d86bc799609779 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 17:48:53 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.12.0...26.1.0) - [github.com/PyCQA/bandit: 1.9.2 → 1.9.3](https://github.com/PyCQA/bandit/compare/1.9.2...1.9.3) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 96ff4cd..f553b6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black args: ["--line-length=120"] @@ -24,6 +24,6 @@ repos: - id: mypy - repo: https://github.com/PyCQA/bandit - rev: 1.9.2 + rev: 1.9.3 hooks: - id: bandit From 133cb4fb777a572378be1bf17549f836d61e47da Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 17:49:05 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pacli/store.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pacli/store.py b/pacli/store.py index bbdeaf6..0f51fc1 100644 --- a/pacli/store.py +++ b/pacli/store.py @@ -37,8 +37,7 @@ def __init__(self, db_path="~/.config/pacli/sqlite3.db"): self._local = threading.local() self.fernet = None # Initialize the database schema - self._get_conn().execute( - """ + self._get_conn().execute(""" CREATE TABLE IF NOT EXISTS secrets ( id TEXT PRIMARY KEY, label TEXT, @@ -47,8 +46,7 @@ def __init__(self, db_path="~/.config/pacli/sqlite3.db"): creation_time INTEGER, update_time INTEGER ) - """ - ) + """) self._get_conn().commit() def _get_conn(self):