mik-laj commented on a change in pull request #16682:
URL: https://github.com/apache/airflow/pull/16682#discussion_r659568440
##########
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:
Flake dont support this case. In other place, we have broad exception
without `noqa` tag.
--
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]