Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
stxue1 committed Nov 7, 2024
1 parent 15de587 commit f94755f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toil/lib/threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def cpu_count() -> int:
return cast(int, cached)

# Get the fallback answer of all the CPUs on the machine
psutil_cpu_count = cast(Optional[int], psutil.cpu_count(logical=True))
psutil_cpu_count = psutil.cpu_count(logical=True)
if psutil_cpu_count is None:
logger.debug("Could not retrieve the logical CPU count.")

Expand Down

0 comments on commit f94755f

Please sign in to comment.