Skip to content

Commit

Permalink
Merge pull request #67 from pipeline-tools/v0.22.0
Browse files Browse the repository at this point in the history
v0.22.0
  • Loading branch information
chriscardillo authored Feb 6, 2024
2 parents 3b6f144 + bf1ddd1 commit beaaca2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions gusty/building.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def create_schematic(dag_dir, parsers=default_parsers):
}
for dir, subdirs, files in os.walk(dag_dir)
if not os.path.basename(dir).startswith(("_", "."))
and not os.path.exists(dir + "/.gustyignore")
}


Expand Down
Empty file.
1 change: 1 addition & 0 deletions tests/dags/with_metadata/ignored/ignored.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("I should be ignored")
4 changes: 4 additions & 0 deletions tests/test_adjusted_behavior.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,7 @@ def test_context_rendering_omits_sql(dag):

def test_context_rendering_py(dag):
assert dag.task_dict["py_task"].__dict__["python_callable"]() == "hey"


def test_gusty_ignored_folder(dag):
assert "ignored.ignored_ignored" not in dag.task_dict.keys()

0 comments on commit beaaca2

Please sign in to comment.