Skip to content

Commit

Permalink
Fix flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbuss authored and jedcunningham committed May 19, 2022
1 parent 40d1e2c commit 9cced24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airflow/utils/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ def _find_path_from_directory(
dirpath = (Path(root) / sd).resolve()
if dirpath in patterns_by_dir:
raise RuntimeError(
f"Detected recursive loop when walking DAG directory {base_dir_path}: {dirpath} has appeared more than once."
f"Detected recursive loop when walking DAG directory " + \
"{base_dir_path}: {dirpath} has appeared more than once."
)
patterns_by_dir.update({dirpath: patterns.copy()})

Expand Down

0 comments on commit 9cced24

Please sign in to comment.