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 2022/06/25 05:17:19 UTC
[GitHub] [airflow] uranusjr commented on a diff in pull request #24591: Rewrite the 'version' command to use Click
uranusjr commented on code in PR #24591:
URL: https://github.com/apache/airflow/pull/24591#discussion_r906637113
##########
airflow/cli/__main__.py:
##########
@@ -18,6 +18,7 @@
# under the License.
from airflow.cli import airflow_cmd
+from airflow.cli.commands import version # noqa: F401
Review Comment:
You can use `__all__` to avoid the NOQA comment instead.
Also, how much additional overhead is introduced for other commands, due to Click needing to be initiated?
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org