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 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):