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 2019/07/15 09:48:26 UTC
[GitHub] [airflow] mik-laj commented on a change in pull request #5587:
[AIRFLOW-4953] Remove unused variables in core
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:
users@infra.apache.org
With regards,
Apache Git Services