Skip to content

Commit 8a0da29

Browse files
authored
maint: Bump version to 0.10.0 (#65)
1 parent 18fd4e7 commit 8a0da29

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

dbt_ibis/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__all__ = ["compile_ibis_to_sql", "depends_on", "ref", "source"]
2-
__version__ = "0.10.0dev"
2+
__version__ = "0.10.0"
33

44
import logging
55
import subprocess

tests/test_dbt_ibis.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -567,19 +567,19 @@ def test_precompile_command(project_dir_and_database_file: tuple[Path, Path]):
567567
project_dir, database_file = project_dir_and_database_file
568568
execute_command(["dbt-ibis", "precompile"])
569569

570-
assert (
571-
not database_file.exists()
572-
), "Database was created although precompile command should not create it."
570+
assert not database_file.exists(), (
571+
"Database was created although precompile command should not create it."
572+
)
573573
validate_compiled_sql_files(project_dir)
574574

575575

576576
def test_compile_ibis_to_sql(project_dir_and_database_file: tuple[Path, Path]):
577577
project_dir, database_file = project_dir_and_database_file
578578
compile_ibis_to_sql()
579579

580-
assert (
581-
not database_file.exists()
582-
), "Database was created although precompile command should not create it."
580+
assert not database_file.exists(), (
581+
"Database was created although precompile command should not create it."
582+
)
583583
validate_compiled_sql_files(project_dir)
584584

585585

@@ -652,9 +652,9 @@ def get_tables() -> list[str]:
652652
)
653653

654654
# Check for one Ibis model that the data is what we expect
655-
assert any(
656-
p.stem == "usa_stores" for p in compiled_sql_files
657-
), "usa_stores is no longer an Ibis model. Adapt test below to use one."
655+
assert any(p.stem == "usa_stores" for p in compiled_sql_files), (
656+
"usa_stores is no longer an Ibis model. Adapt test below to use one."
657+
)
658658
db_con = get_db_con()
659659
usa_stores_df = db_con.execute(
660660
"select * from usa_stores order by store_id"

0 commit comments

Comments
 (0)