From 792b5f281987cfcbeaec1dcc57b0c33f51659954 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 20:06:35 +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.9.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/25.9.0...26.3.1) - [github.com/pycqa/isort: 7.0.0 → 8.0.1](https://github.com/pycqa/isort/compare/7.0.0...8.0.1) - [github.com/pylint-dev/pylint: v4.0.2 → v4.0.5](https://github.com/pylint-dev/pylint/compare/v4.0.2...v4.0.5) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml old mode 100755 new mode 100644 index 37957a0..4a02dab --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,17 +6,17 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.9.0 + rev: 26.3.1 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 7.0.0 + rev: 8.0.1 hooks: - id: isort - repo: https://github.com/pylint-dev/pylint - rev: v4.0.2 + rev: v4.0.5 hooks: - id: pylint language: python From ceaaed1c64dcb27242fc83adac5f59c4ba3ec242 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 20:06:50 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- bfi_dagster_project/resources/__init__.py | 6 ++---- encoding_ui/app.py | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bfi_dagster_project/resources/__init__.py b/bfi_dagster_project/resources/__init__.py index e3e2872..da2b5e5 100755 --- a/bfi_dagster_project/resources/__init__.py +++ b/bfi_dagster_project/resources/__init__.py @@ -159,8 +159,7 @@ def initialise_db(self, context: dg.AssetExecutionContext): cursor = conn.cursor() # Enable WAL mode for better concurrent access / busy time out / create table - cursor.execute( - """ + cursor.execute(""" CREATE TABLE IF NOT EXISTS encoding_status ( process_id INTEGER PRIMARY KEY AUTOINCREMENT, seq_id TEXT NOT NULL, @@ -193,8 +192,7 @@ def initialise_db(self, context: dg.AssetExecutionContext): project TEXT, Instruction TEXT ) - """ - ) + """) context.log.info("Database initialized at: %s", self.filepath) @with_retries() diff --git a/encoding_ui/app.py b/encoding_ui/app.py index 6014da8..ab296a9 100755 --- a/encoding_ui/app.py +++ b/encoding_ui/app.py @@ -23,8 +23,7 @@ def index(): DBASE = os.environ.get("DATABASE") CONNECT = sqlite3.connect(DBASE) -CONNECT.execute( - """ +CONNECT.execute(""" CREATE TABLE IF NOT EXISTS encoding_status ( process_id INTEGER PRIMARY KEY AUTOINCREMENT, seq_id TEXT NOT NULL, @@ -57,8 +56,7 @@ def index(): project TEXT Instruction TEXT ) - """ -) + """) @app.route("/reset_request", methods=["GET", "POST"])