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 2021/04/26 17:23:56 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #15534: Make Airflow code Pylint 2.8 compatible

mik-laj commented on a change in pull request #15534:
URL: https://github.com/apache/airflow/pull/15534#discussion_r620500075



##########
File path: airflow/providers/apache/beam/hooks/beam.py
##########
@@ -94,6 +94,7 @@ def __init__(
         self.log.info("Running command: %s", " ".join(shlex.quote(c) for c in cmd))
         self.process_line_callback = process_line_callback
         self.job_id: Optional[str] = None
+        # pylint: disable=consider-using-with

Review comment:
       This is a bit sad because this class should be a function. We don't need to keep the state here.




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