diff --git a/src/mpsd_hpc_tools/quota.py b/src/mpsd_hpc_tools/quota.py
index ae370af27310aaa2065b0b4602948502a7ab4488..d8faed844492f72fdf89662e8c0bd3d07c0584d9 100644
--- a/src/mpsd_hpc_tools/quota.py
+++ b/src/mpsd_hpc_tools/quota.py
@@ -87,7 +87,7 @@ def df_mountpoint(path: pathlib.Path) -> Tuple[int, int, int]:
         return None, None, None
     for line in output.splitlines():
         df_fields = line.split()
-        if (df_fields[0] == "Filesystem"):
+        if df_fields[0] == "Filesystem":
             continue
         (size, used, avail) = [int(df_field) for df_field in df_fields[1:4]]
     return size, used, avail
diff --git a/tests/test_quota.py b/tests/test_quota.py
index 91013e6b9fd915454e90335f026d3cfb5cfacdbe..3513ed96d8931262dbbeaa2ea45a79dcbb6bddd2 100644
--- a/tests/test_quota.py
+++ b/tests/test_quota.py
@@ -54,7 +54,7 @@ def test_df_ceph(mocker):
 def test_df_mountpoint(mocker):
     mock = mocker.patch(
         "subprocess.check_output",
-        return_value="Filesystem     1B-blocks      Used    Available Use% Mounted on\nsomedev     1000 500 500   1% /home/glawe\n".encode()
+        return_value="Filesystem     1B-blocks      Used    Available Use% Mounted on\nsomedev     1000 500 500   1% /home/glawe\n".encode(),
     )
     size, used, avail = quota.df_mountpoint("/home/MOCK")
     assert isinstance(size, int)