diff --git a/torchgeo/datasets/eurocrops.py b/torchgeo/datasets/eurocrops.py
index 06774c621b5..bac2b03552a 100644
--- a/torchgeo/datasets/eurocrops.py
+++ b/torchgeo/datasets/eurocrops.py
@@ -205,9 +205,11 @@ def get_label(self, feature: 'fiona.model.Feature') -> int:
         # (Parent code is computed by replacing rightmost non-0 character with 0.)
         hcat_code = feature['properties'][self.label_name]
         if hcat_code is None:
-            print(f"Feature does not contain the label '{self.label_name}'. Skip rendering.")
+            print(
+                f"Feature does not contain the label '{self.label_name}'. Skip rendering."
+            )
             return 0
-        
+
         while True:
             if hcat_code in self.class_map:
                 return self.class_map[hcat_code]