Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #160

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
- id: remove-tabs
exclude: ^docs/(make.bat|Makefile)
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
args: [-w]
Expand Down Expand Up @@ -59,7 +59,7 @@ repos:
- id: rst-inline-touching-normal
- id: text-unicode-replacement-char
- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v3.14.0
hooks:
- id: pyupgrade
args: [--py37-plus, --keep-runtime-typing]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_clickhouse_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=clickhouse,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_greenplum_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=greenplum,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_hive_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError):
DBReader(
connection=hive,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_mssql_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=mssql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_mysql_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=mysql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_oracle_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=oracle,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_postgres_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=postgres,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_teradata_reader_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBReader(
connection=teradata,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_clickhouse_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=clickhouse,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_greenplum_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=greenplum,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_hive_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=hive,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_mssql_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=mssql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_mysql_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=mysql,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_oracle_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=oracle,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_postgres_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=postgres,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ def test_teradata_writer_wrong_table_name(spark_mock, table):
with pytest.raises(ValueError, match="Name should be passed in `schema.name` format"):
DBWriter(
connection=teradata,
table=table, # Required format: table="shema.table"
table=table, # Required format: table="schema.table"
)