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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to