mik-laj commented on a change in pull request #5587: [AIRFLOW-4953] Remove 
unused variables in core
URL: https://github.com/apache/airflow/pull/5587#discussion_r303358421
 
 

 ##########
 File path: airflow/bin/cli.py
 ##########
 @@ -1043,7 +1043,7 @@ def serve_logs(args):
     flask_app = flask.Flask(__name__)
 
     @flask_app.route('/log/<path:filename>')
-    def serve_logs(filename):
+    def serve_logs(filename):  # pylint: disable=unused-variable
 
 Review comment:
   The problem is only in the content of the message. Pylint detected unused 
functions and marked them as variables. Flake8 does not detect unused 
functions. 
   
   I did not report this error to pylint.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to