diff --git a/circuit/circuit.py b/circuit/circuit.py
index <HASH>..<HASH> 100644
--- a/circuit/circuit.py
+++ b/circuit/circuit.py
@@ -678,10 +678,10 @@ class circuit():
             if outputs is None or len(outputs) == 0:
                 return 0
             else:
-                return 1 + max([ # pylint: disable=R1728
+                return 1 + max(
                     __subtrees_max_depth(g.outputs)
                     for g in outputs
-                ])
+                )
 
         return __subtrees_max_depth(circuit_inputs)
Resolve Pylint-R<I>: pass generator to `max(`