@@ -87,7 +87,7 @@ def calculate_percentage(self, total_time: float) -> None: # noqa: D102
8787 self .percentage = self .time / total_time
8888
8989 def combine_timing (l : "NodeTiming" , r : "NodeTiming" ) -> "NodeTiming" : # noqa: D102
90- # TODO: can only add timings for same-phase nodes
90+ # TODO: can only add timings for same-phase nodes # noqa: TD002, TD003
9191 total_time = l .time + r .time
9292 return NodeTiming (l .phase , total_time )
9393
@@ -161,7 +161,7 @@ def get_node_body(name: str, result: str, cpu_time: float, card: int, est: int,
161161 body += f"<p>cardinality: { card } </p>"
162162 body += f"<p>estimate: { est } </p>"
163163 body += f"<p>width: { width } bytes</p>"
164- # TODO: Expand on timing. Usually available from a detailed profiling
164+ # TODO: Expand on timing. Usually available from a detailed profiling # noqa: TD002, TD003
165165 body += "</div>"
166166 body += "</span>"
167167 return body
@@ -250,7 +250,7 @@ def generate_tree_html(graph_json: object) -> str: # noqa: D103
250250 tree_prefix = '<div class="tf-tree tf-gap-sm"> \n <ul>'
251251 tree_suffix = "</ul> </div>"
252252 # first level of json is general overview
253- # TODO: make sure json output first level always has only 1 level
253+ # TODO: make sure json output first level always has only 1 level # noqa: TD002, TD003
254254 tree_body = generate_tree_recursive (json_graph ["children" ][0 ], cpu_time )
255255 return tree_prefix + tree_body + tree_suffix
256256
0 commit comments