You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/07/05 19:40:54 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #9670: Make airflow/migrations/env.py Pylint Compatible

potiuk commented on a change in pull request #9670:
URL: https://github.com/apache/airflow/pull/9670#discussion_r449911543



##########
File path: airflow/migrations/env.py
##########
@@ -21,7 +21,7 @@
 from alembic import context
 
 from airflow import models, settings
-from airflow.models.serialized_dag import SerializedDagModel  # noqa
+from airflow.models.serialized_dag import SerializedDagModel  # pylint: disable=unused-import # noqa

Review comment:
       It was not here (it was where reset method was) but I think for migrations it's also needed - in order to generate migration diffs for all the model objects.




----------------------------------------------------------------
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.

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