jedcunningham commented on a change in pull request #22521:
URL: https://github.com/apache/airflow/pull/22521#discussion_r835487815
##########
File path: airflow/providers/databricks/hooks/databricks_base.py
##########
@@ -113,7 +113,7 @@ def my_after_func(retry_state):
else:
self.retry_args = dict(
stop=stop_after_attempt(self.retry_limit),
- wait=wait_exponential(min=self.retry_delay, max=(2 **
retry_limit)),
+ wait=wait_exponential(min=self.retry_delay,
max=(2**retry_limit)),
Review comment:
In https://github.com/psf/black/issues/538 (where the change was made),
it mentions that [PEP
8](https://peps.python.org/pep-0008/#other-recommendations) advises to only use
whitespace to help make operator precedence more clear (`**` has a high
precedence), and to not use it otherwise.
--
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]