_job_count always returns an int

This commit is contained in:
FichteFoll 2016-07-27 02:01:51 +02:00
parent ec6165e9d8
commit f27d47e87e

View file

@ -135,7 +135,7 @@ class Manager(object):
all_statistics['files'] += len(self.checkers)
def _job_count(self):
# type: () -> Union[int, NoneType]
# type: () -> int
# First we walk through all of our error cases:
# - multiprocessing library is not present
# - we're running on windows in which case we know we have significant