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/06/28 08:01:32 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #16682: Remove pylint

potiuk commented on a change in pull request #16682:
URL: https://github.com/apache/airflow/pull/16682#discussion_r659564219



##########
File path: airflow/api/client/json_client.py
##########
@@ -31,12 +31,12 @@ def _request(self, url, method='GET', json=None):
         }
         if json is not None:
             params['json'] = json
-        resp = getattr(self._session, method.lower())(**params)  # pylint: disable=not-callable
+        resp = getattr(self._session, method.lower())(**params)
         if not resp.ok:
             # It is justified here because there might be many resp types.
             try:
                 data = resp.json()
-            except Exception:  # noqa pylint: disable=broad-except
+            except Exception:  # noqa

Review comment:
       I think flake also complains about this case. But yeah. yesqa is a good idea. I will run it now no problem.




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