turbaszek commented on a change in pull request #7802: Make airflow/providers
pylint compatible
URL: https://github.com/apache/airflow/pull/7802#discussion_r396082449
##########
File path: airflow/providers/docker/hooks/docker.py
##########
@@ -60,7 +60,7 @@ def __init__(self,
self.__username = conn.login
self.__password = conn.password
self.__email = extra_options.get('email')
- self.__reauth = False if extra_options.get('reauth') == 'no' else True
+ self.__reauth = not extra_options.get('reauth') == 'no'
Review comment:
```suggestion
self.__reauth = extra_options.get('reauth') != 'no'
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services