This is an automated email from the ASF dual-hosted git repository.
shahar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 08e09a25711 Enable PT006 rule to mysql Provider test (#57937)
08e09a25711 is described below
commit 08e09a25711b1ee4e0c2903dfd3d6afbe7e92fa6
Author: GUAN-HAO HUANG <[email protected]>
AuthorDate: Sat Nov 8 02:37:21 2025 +0800
Enable PT006 rule to mysql Provider test (#57937)
---
providers/mysql/tests/unit/mysql/assets/test_mysql.py | 2 +-
providers/mysql/tests/unit/mysql/hooks/test_mysql.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/providers/mysql/tests/unit/mysql/assets/test_mysql.py
b/providers/mysql/tests/unit/mysql/assets/test_mysql.py
index 733c4eb097a..2381f6aabc2 100644
--- a/providers/mysql/tests/unit/mysql/assets/test_mysql.py
+++ b/providers/mysql/tests/unit/mysql/assets/test_mysql.py
@@ -25,7 +25,7 @@ from airflow.providers.mysql.assets.mysql import sanitize_uri
@pytest.mark.parametrize(
- "original, normalized",
+ ("original", "normalized"),
[
pytest.param(
"mysql://example.com:1234/database/table",
diff --git a/providers/mysql/tests/unit/mysql/hooks/test_mysql.py
b/providers/mysql/tests/unit/mysql/hooks/test_mysql.py
index d72f5601037..401df681ad6 100644
--- a/providers/mysql/tests/unit/mysql/hooks/test_mysql.py
+++ b/providers/mysql/tests/unit/mysql/hooks/test_mysql.py
@@ -92,7 +92,7 @@ class TestMySqlHookConn:
@mock.patch("MySQLdb.connect")
@pytest.mark.parametrize(
- "connection_params, expected_uri",
+ ("connection_params", "expected_uri"),
[
pytest.param(
{