Copilot commented on code in PR #53791:
URL: https://github.com/apache/airflow/pull/53791#discussion_r2233891886


##########
airflow-core/tests/unit/cli/commands/test_dag_command.py:
##########
@@ -55,8 +54,14 @@
     clear_db_runs,
     parse_and_sync_to_db,
 )
+from tests_common.test_utils.version_compat import AIRFLOW_V_3_1_PLUS

Review Comment:
   [nitpick] The version compatibility import should be placed with other 
imports at the top of the file rather than in the middle of the import section 
for better code organization.



##########
devel-common/src/tests_common/test_utils/mock_operators.py:
##########
@@ -21,10 +21,8 @@
 
 import attr
 
-from airflow.models.baseoperator import BaseOperator
-
 from tests_common.test_utils.compat import BaseOperatorLink
-from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS
+from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS, 
AIRFLOW_V_3_1_PLUS

Review Comment:
   The import of AIRFLOW_V_3_0_PLUS is no longer used after removing the 
original import check. Consider removing it to keep imports clean.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to