summaryrefslogtreecommitdiff
path: root/src/flake8
diff options
context:
space:
mode:
authorFichteFoll <fichtefoll2@googlemail.com>2016-07-27 02:01:51 +0200
committerFichteFoll <fichtefoll2@googlemail.com>2016-07-27 02:01:51 +0200
commitf27d47e87e9ca7794f36d8321221f3534a464d52 (patch)
tree3d1dc4e1f8a49ccc33eecd9a334df3d6330977c7 /src/flake8
parentec6165e9d86b8ea88bfe713bad282a8188403575 (diff)
downloadflake8-f27d47e87e9ca7794f36d8321221f3534a464d52.tar.gz
_job_count always returns an int
Diffstat (limited to 'src/flake8')
-rw-r--r--src/flake8/checker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/checker.py b/src/flake8/checker.py
index 09168ee..953eaf8 100644
--- a/src/flake8/checker.py
+++ b/src/flake8/checker.py
@@ -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