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 2019/06/10 08:08:23 UTC
[GitHub] [airflow] BasPH commented on issue #5398: [AIRFLOW-4659] Fix pylint
problems for api module
BasPH commented on issue #5398: [AIRFLOW-4659] Fix pylint problems for api module
URL: https://github.com/apache/airflow/pull/5398#issuecomment-500330190
LGTM.
@potiuk did you know you can write Pylint disables on the same line as the code?
```python
# pylint: disable=not-callable
resp = getattr(requests, method.lower())(**params)
# pylint: enable=not-callable
```
Equivalent:
```python
resp = getattr(requests, method.lower())(**params) # pylint: disable=not-callable
```
----------------------------------------------------------------
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
With regards,
Apache Git Services