Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 25, 2024
1 parent 6af1ef5 commit b69565b
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"integrity": "sha256:f6a73ee06601d703db7d95d03e415cab229e78df92bb5002e8559bcfc047fec6"
}
}
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ venv/
ENV/
env.bak/
venv.bak/
.mise.toml
.mise.toml
4 changes: 1 addition & 3 deletions dbt/adapters/sqlserver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
from dbt.adapters.sqlserver.sql_server_adapter import SQLServerAdapter
from dbt.adapters.sqlserver.sql_server_column import SQLServerColumn
from dbt.adapters.sqlserver.sql_server_configs import SQLServerConfigs
from dbt.adapters.sqlserver.sql_server_connection_manager import (
SQLServerConnectionManager,
)
from dbt.adapters.sqlserver.sql_server_connection_manager import SQLServerConnectionManager
from dbt.adapters.sqlserver.sql_server_credentials import SQLServerCredentials
from dbt.include import sqlserver

Expand Down
4 changes: 1 addition & 3 deletions dbt/adapters/sqlserver/sql_server_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

from dbt.adapters.sqlserver.sql_server_column import SQLServerColumn
from dbt.adapters.sqlserver.sql_server_configs import SQLServerConfigs
from dbt.adapters.sqlserver.sql_server_connection_manager import (
SQLServerConnectionManager,
)
from dbt.adapters.sqlserver.sql_server_connection_manager import SQLServerConnectionManager

# from dbt.adapters.capability import Capability, CapabilityDict, CapabilitySupport, Support

Expand Down
4 changes: 1 addition & 3 deletions tests/functional/adapter/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
BaseIncrementalNotSchemaChange,
)
from dbt.tests.adapter.basic.test_singular_tests import BaseSingularTests
from dbt.tests.adapter.basic.test_singular_tests_ephemeral import (
BaseSingularTestsEphemeral,
)
from dbt.tests.adapter.basic.test_singular_tests_ephemeral import BaseSingularTestsEphemeral
from dbt.tests.adapter.basic.test_snapshot_check_cols import BaseSnapshotCheckCols
from dbt.tests.adapter.basic.test_snapshot_timestamp import BaseSnapshotTimestamp
from dbt.tests.adapter.basic.test_table_materialization import BaseTableMaterialization
Expand Down
5 changes: 1 addition & 4 deletions tests/functional/adapter/test_changing_relation_type.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import pytest

from dbt.tests.adapter.relations.test_changing_relation_type import (
BaseChangeRelationTypeValidator,
)
from dbt.tests.adapter.relations.test_changing_relation_type import BaseChangeRelationTypeValidator


@pytest.mark.skip(reason="CTAS is not supported without a underlying table definition.")
Expand Down
5 changes: 1 addition & 4 deletions tests/functional/adapter/test_concurrency.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
from dbt.tests.adapter.concurrency.test_concurrency import (
BaseConcurrency,
seeds__update_csv,
)
from dbt.tests.adapter.concurrency.test_concurrency import BaseConcurrency, seeds__update_csv
from dbt.tests.util import (
check_relations_equal,
check_table_does_not_exist,
Expand Down
5 changes: 1 addition & 4 deletions tests/functional/adapter/test_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
import pytest
import yaml
from dbt.cli.exceptions import DbtUsageException
from dbt.tests.adapter.dbt_debug.test_dbt_debug import (
BaseDebug,
BaseDebugProfileVariable,
)
from dbt.tests.adapter.dbt_debug.test_dbt_debug import BaseDebug, BaseDebugProfileVariable
from dbt.tests.util import run_dbt


Expand Down
8 changes: 2 additions & 6 deletions tests/functional/adapter/test_incremental.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@
from dbt.tests.adapter.incremental.test_incremental_on_schema_change import (
BaseIncrementalOnSchemaChange,
)
from dbt.tests.adapter.incremental.test_incremental_predicates import (
BaseIncrementalPredicates,
)
from dbt.tests.adapter.incremental.test_incremental_unique_id import (
BaseIncrementalUniqueKey,
)
from dbt.tests.adapter.incremental.test_incremental_predicates import BaseIncrementalPredicates
from dbt.tests.adapter.incremental.test_incremental_unique_id import BaseIncrementalUniqueKey

_MODELS__INCREMENTAL_IGNORE = """
{{
Expand Down
14 changes: 5 additions & 9 deletions tests/functional/adapter/test_seed.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
import os

import pytest
from dbt.tests.adapter.simple_seed.seeds import seeds__expected_sql, seed__actual_csv
from dbt.tests.adapter.simple_seed.fixtures import models__downstream_from_seed_actual
from dbt.tests.adapter.simple_seed.seeds import seed__actual_csv, seeds__expected_sql
from dbt.tests.adapter.simple_seed.test_seed import SeedConfigBase
from dbt.tests.adapter.simple_seed.test_seed import (
TestBasicSeedTests as BaseBasicSeedTests,
)
from dbt.tests.adapter.simple_seed.test_seed import TestBasicSeedTests as BaseBasicSeedTests
from dbt.tests.adapter.simple_seed.test_seed import (
TestSeedConfigFullRefreshOff as BaseSeedConfigFullRefreshOff,
)
from dbt.tests.adapter.simple_seed.test_seed import (
TestSeedConfigFullRefreshOn as BaseSeedConfigFullRefreshOn,
)
from dbt.tests.adapter.simple_seed.test_seed import (
TestSeedCustomSchema as BaseSeedCustomSchema,
)
from dbt.tests.adapter.simple_seed.test_seed import TestSeedCustomSchema as BaseSeedCustomSchema
from dbt.tests.adapter.simple_seed.test_seed import TestSeedParsing as BaseSeedParsing
from dbt.tests.adapter.simple_seed.test_seed import (
TestSeedSpecificFormats as BaseSeedSpecificFormats,
Expand All @@ -29,11 +25,11 @@
seeds__enabled_in_config_csv,
)
from dbt.tests.util import (
get_connection,
run_dbt,
check_relations_equal,
check_table_does_exist,
check_table_does_not_exist,
get_connection,
run_dbt,
)

from dbt.adapters.sqlserver import SQLServerAdapter
Expand Down
5 changes: 1 addition & 4 deletions tests/functional/adapter/test_sources.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import pytest
from dbt.tests.adapter.basic.files import (
config_materialized_table,
config_materialized_view,
)
from dbt.tests.adapter.basic.files import config_materialized_table, config_materialized_view
from dbt.tests.util import run_dbt

source_regular = """
Expand Down
8 changes: 2 additions & 6 deletions tests/functional/adapter/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import pytest
from dbt.tests.adapter.utils.fixture_cast_bool_to_text import (
models__test_cast_bool_to_text_yml,
)
from dbt.tests.adapter.utils.fixture_cast_bool_to_text import models__test_cast_bool_to_text_yml
from dbt.tests.adapter.utils.fixture_listagg import (
models__test_listagg_yml,
seeds__data_listagg_csv,
Expand All @@ -17,9 +15,7 @@
from dbt.tests.adapter.utils.test_date_trunc import BaseDateTrunc
from dbt.tests.adapter.utils.test_dateadd import BaseDateAdd
from dbt.tests.adapter.utils.test_datediff import BaseDateDiff
from dbt.tests.adapter.utils.test_escape_single_quotes import (
BaseEscapeSingleQuotesQuote,
)
from dbt.tests.adapter.utils.test_escape_single_quotes import BaseEscapeSingleQuotesQuote
from dbt.tests.adapter.utils.test_except import BaseExcept
from dbt.tests.adapter.utils.test_hash import BaseHash
from dbt.tests.adapter.utils.test_intersect import BaseIntersect
Expand Down

0 comments on commit b69565b

Please sign in to comment.