This is an automated email from the ASF dual-hosted git repository.

jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f00a6769ec0 Fix ruff on client-py (#64868)
f00a6769ec0 is described below

commit f00a6769ec0a5931c2f81fc8a0ba4dcb0bb22070
Author: Jens Scheffler <[email protected]>
AuthorDate: Tue Apr 7 23:44:54 2026 +0200

    Fix ruff on client-py (#64868)
---
 airflow-ctl/src/airflowctl/api/client.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/airflow-ctl/src/airflowctl/api/client.py 
b/airflow-ctl/src/airflowctl/api/client.py
index d66f385576b..a8b3d3931d6 100644
--- a/airflow-ctl/src/airflowctl/api/client.py
+++ b/airflow-ctl/src/airflowctl/api/client.py
@@ -239,7 +239,9 @@ class Credentials:
                     try:
                         with open(debug_creds_path) as df:
                             debug_credentials = json.load(df)
-                            self.api_token = 
debug_credentials.get(self.token_key_for_environment(self.api_environment))
+                            self.api_token = debug_credentials.get(
+                                
self.token_key_for_environment(self.api_environment)
+                            )
                     except FileNotFoundError as e:
                         if self.client_kind == ClientKind.CLI:
                             raise AirflowCtlCredentialNotFoundException(

Reply via email to