From 692e74bdce16544e6e877dd4f9ed93c7560f4875 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:38:47 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tap_mysql/client.py | 1 + tap_mysql/tap.py | 1 + tests/test_selected_columns_only.py | 1 + tests/test_ssh_tunnel.py | 1 - 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tap_mysql/client.py b/tap_mysql/client.py index 777b848..1ddcec1 100644 --- a/tap_mysql/client.py +++ b/tap_mysql/client.py @@ -1,4 +1,5 @@ """SQL client handling.""" + from __future__ import annotations import datetime diff --git a/tap_mysql/tap.py b/tap_mysql/tap.py index 4382a87..5653534 100644 --- a/tap_mysql/tap.py +++ b/tap_mysql/tap.py @@ -1,4 +1,5 @@ """mysql tap class.""" + from __future__ import annotations import atexit diff --git a/tests/test_selected_columns_only.py b/tests/test_selected_columns_only.py index 2b8c5aa..d0ed0e0 100644 --- a/tests/test_selected_columns_only.py +++ b/tests/test_selected_columns_only.py @@ -1,4 +1,5 @@ """Tests selected columns only from stream.""" + # flake8: noqa import json diff --git a/tests/test_ssh_tunnel.py b/tests/test_ssh_tunnel.py index cc9a24c..3cdb454 100644 --- a/tests/test_ssh_tunnel.py +++ b/tests/test_ssh_tunnel.py @@ -1,6 +1,5 @@ """Tests standard tap features using the built-in SDK tests library.""" - from tap_mysql.tap import TapMySQL TABLE_NAME = "test_replication_key"