mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 06:44:18 +00:00
Merge branch '_job_count_rettype' into 'master'
_job_count always returns an int Trivial change, but `_job_count` always returns an `int`. See merge request !95
This commit is contained in:
commit
d258becbe4
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class Manager(object):
|
||||||
all_statistics['files'] += len(self.checkers)
|
all_statistics['files'] += len(self.checkers)
|
||||||
|
|
||||||
def _job_count(self):
|
def _job_count(self):
|
||||||
# type: () -> Union[int, NoneType]
|
# type: () -> int
|
||||||
# First we walk through all of our error cases:
|
# First we walk through all of our error cases:
|
||||||
# - multiprocessing library is not present
|
# - multiprocessing library is not present
|
||||||
# - we're running on windows in which case we know we have significant
|
# - we're running on windows in which case we know we have significant
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue