mik-laj commented on a change in pull request #16682:
URL: https://github.com/apache/airflow/pull/16682#discussion_r659399237
##########
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 suspect that this `noqa` tag has no effect on any tool now. We should
use [`yesqa`](https://github.com/asottile/yesqa) to delete the unused tag, but
we can do it as a separate PR.
--
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]