Skip to content

Commit

Permalink
inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
aspeddro committed Nov 5, 2024
1 parent 7ea4c35 commit 75b4a1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/scripts/register_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,10 @@ def get_affected_flows(fpath: str = None):
fpath = "dependent_files.txt"
with open(fpath, "r") as f:
fnames = f.read().splitlines()

print(f"{fnames=}")
fnames = [fname for fname in fnames if fname.endswith(".py")]
print(f"{fnames=}")
flow_files = set()
for fname in fnames:
flow_file = Path(fname).parent / "flows.py"
Expand Down Expand Up @@ -510,6 +513,7 @@ def main(
if filter_affected_flows:
# Filter out flows that are not affected by the change
affected_flows = get_affected_flows("dependent_files.txt")
print(f"{affected_flows=}")
for key in source_to_flows.keys():
filtered_flows = []
for flow in source_to_flows[key]:
Expand Down

0 comments on commit 75b4a1c

Please sign in to comment.