8000 fix some lint · riteshverma/python-docs-samples@1aefa68 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1aefa68

Browse files
committed
fix some lint
1 parent f902b10 commit 1aefa68

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

composer/cicd_sample/dags/example2_dag.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,3 @@
4444
print_dag_run_conf = bash.BashOperator(
4545
task_id="print_dag_run_conf", bash_command="echo {{ dag_run.id }}"
4646
)
47-
48-
if __name__ == "__main__":
49-
dag.clear(dag_run_state=State.NONE)
50-
dag.run()

composer/cicd_sample/dags/example_dag.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,3 @@
4343
print_dag_run_conf = bash.BashOperator(
4444
task_id="print_dag_run_conf", bash_command="echo {{ dag_run.id }}"
4545
)
46-
if __name__ == "__main__":
47-
dag.clear(dag_run_state=State.NONE)
48-
dag.run()

composer/cicd_sample/utils/add_dags_to_composer_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def test_create_dags_list(dags_directory: str) -> None:
8383
assert f"{temp_dir}/example2_dag_test.py" not in dags
8484

8585

86-
8786
def test_upload_dags_to_composer_no_files(
8887
capsys: pytest.CaptureFixture, empty_directory: str, test_bucket: str
8988
) -> None:

0 commit comments

Comments
 (0)
0