From a9e1abae4a423c0963353f6be990287529cf4ead Mon Sep 17 00:00:00 2001
From: Henning Glawe <glaweh@debian.org>
Date: Tue, 18 Mar 2025 17:58:58 +0100
Subject: [PATCH] rename ambigous 'l' to 'df_fields' (ruff fix)

---
 src/mpsd_hpc_tools/quota.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mpsd_hpc_tools/quota.py b/src/mpsd_hpc_tools/quota.py
index f16c310..0782857 100644
--- a/src/mpsd_hpc_tools/quota.py
+++ b/src/mpsd_hpc_tools/quota.py
@@ -86,10 +86,10 @@ def df_mountpoint(path: pathlib.Path) -> Tuple[int, int, int]:
     except:
         return None, None, None
     for line in output.splitlines():
-        l = line.split()
-        if (l[0] == "Filesystem"):
+        df_fields = line.split()
+        if (df_fields[0] == "Filesystem"):
             continue
-        (size, used, avail) = [int(li) for li in l[1:4]]
+        (size, used, avail) = [int(df_field) for df_field in df_fields[1:4]]
     return size, used, avail
 
 
-- 
GitLab