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

 ##########
 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:
   Have we reported this as a bug to pylint?
   
   Perhaps we should disable that pylint error globally since Flake8 has a 
(better?) check for this already

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