Skip to content

Commit

Permalink
make pylint more happier
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypantone committed Jan 15, 2025
1 parent eeff34e commit c0515c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions comb_spec_searcher/comb_spec_searcher.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A class for automatically performing combinatorial exploration."""

import gc
import logging
import platform
Expand Down Expand Up @@ -435,7 +436,7 @@ def _mem_status(self, elaborate: bool) -> str:
("Peak Memory Used", gc_stats.peak_memory),
("Peak Memory Allocated Memory Used", gc_stats.peak_allocated_memory),
]
for (desc, mem) in stats:
for desc, mem in stats:
table.append((desc, nice_pypy_mem(mem)))
status += " "
status += tabulate.tabulate(table, colalign=("left", "right")).replace(
Expand Down Expand Up @@ -594,7 +595,7 @@ def _expand_classes_for(
comb_class = self.classdb.get_class(label)
last_label = label
if self.expand_verified or not self.ruledb.is_verified(label):
self._expand(comb_class, label, strategies, inferral)
self._expand(comb_class, label, strategies, inferral) # type: ignore
if time.time() - expansion_start > expansion_time:
break
if status_update is not None and time.time() - status_start > status_update:
Expand Down

0 comments on commit c0515c7

Please sign in to comment.