Skip to content

Commit c0515c7

Browse files
committed
make pylint more happier
1 parent eeff34e commit c0515c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

comb_spec_searcher/comb_spec_searcher.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A class for automatically performing combinatorial exploration."""
2+
23
import gc
34
import logging
45
import platform
@@ -435,7 +436,7 @@ def _mem_status(self, elaborate: bool) -> str:
435436
("Peak Memory Used", gc_stats.peak_memory),
436437
("Peak Memory Allocated Memory Used", gc_stats.peak_allocated_memory),
437438
]
438-
for (desc, mem) in stats:
439+
for desc, mem in stats:
439440
table.append((desc, nice_pypy_mem(mem)))
440441
status += " "
441442
status += tabulate.tabulate(table, colalign=("left", "right")).replace(
@@ -594,7 +595,7 @@ def _expand_classes_for(
594595
comb_class = self.classdb.get_class(label)
595596
last_label = label
596597
if self.expand_verified or not self.ruledb.is_verified(label):
597-
self._expand(comb_class, label, strategies, inferral)
598+
self._expand(comb_class, label, strategies, inferral) # type: ignore
598599
if time.time() - expansion_start > expansion_time:
599600
break
600601
if status_update is not None and time.time() - status_start > status_update:

0 commit comments

Comments
 (0)