Skip to content

Commit facff2c

Browse files
committed
remove type hints
1 parent 47fbbfb commit facff2c

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

tests/conftest.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
from typing import Any
32

43
import pytest
54
from _pytest.fixtures import FixtureRequest
@@ -14,7 +13,7 @@ def pytest_addoption(parser):
1413

1514

1615
@pytest.fixture(scope="class")
17-
def dbt_profile_target(request: FixtureRequest) -> dict[str, Any]:
16+
def dbt_profile_target(request: FixtureRequest):
1817
profile = request.config.getoption("--profile")
1918

2019
if profile == "ci_sql_server":
@@ -41,7 +40,7 @@ def is_azure(request: FixtureRequest) -> bool:
4140
return "azure" in profile
4241

4342

44-
def _all_profiles_base() -> dict[str, Any]:
43+
def _all_profiles_base():
4544
return {
4645
"type": "sqlserver",
4746
"driver": os.getenv("SQLSERVER_TEST_DRIVER", "ODBC Driver 18 for SQL Server"),
@@ -50,7 +49,7 @@ def _all_profiles_base() -> dict[str, Any]:
5049
}
5150

5251

53-
def _profile_ci_azure_base() -> dict[str, Any]:
52+
def _profile_ci_azure_base():
5453
return {
5554
**_all_profiles_base(),
5655
**{
@@ -62,7 +61,7 @@ def _profile_ci_azure_base() -> dict[str, Any]:
6261
}
6362

6463

65-
def _profile_ci_azure_basic() -> dict[str, Any]:
64+
def _profile_ci_azure_basic():
6665
return {
6766
**_profile_ci_azure_base(),
6867
**{
@@ -72,7 +71,7 @@ def _profile_ci_azure_basic() -> dict[str, Any]:
7271
}
7372

7473

75-
def _profile_ci_azure_cli() -> dict[str, Any]:
74+
def _profile_ci_azure_cli():
7675
return {
7776
**_profile_ci_azure_base(),
7877
**{
@@ -81,7 +80,7 @@ def _profile_ci_azure_cli() -> dict[str, Any]:
8180
}
8281

8382

84-
def _profile_ci_azure_auto() -> dict[str, Any]:
83+
def _profile_ci_azure_auto():
8584
return {
8685
**_profile_ci_azure_base(),
8786
**{
@@ -90,7 +89,7 @@ def _profile_ci_azure_auto() -> dict[str, Any]:
9089
}
9190

9291

93-
def _profile_ci_azure_environment() -> dict[str, Any]:
92+
def _profile_ci_azure_environment():
9493
return {
9594
**_profile_ci_azure_base(),
9695
**{
@@ -99,7 +98,7 @@ def _profile_ci_azure_environment() -> dict[str, Any]:
9998
}
10099

101100

102-
def _profile_ci_sql_server() -> dict[str, Any]:
101+
def _profile_ci_sql_server():
103102
return {
104103
**_all_profiles_base(),
105104
**{
@@ -113,7 +112,7 @@ def _profile_ci_sql_server() -> dict[str, Any]:
113112
}
114113

115114

116-
def _profile_user() -> dict[str, Any]:
115+
def _profile_user():
117116
profile = {
118117
**_all_profiles_base(),
119118
**{
@@ -128,7 +127,7 @@ def _profile_user() -> dict[str, Any]:
128127
return profile
129128

130129

131-
def _profile_user_azure() -> dict[str, Any]:
130+
def _profile_user_azure():
132131
profile = {
133132
**_all_profiles_base(),
134133
**{

0 commit comments

Comments
 (0)