fix pylint
This commit is contained in:
@@ -148,6 +148,7 @@ disable=bad-indentation,
|
||||
deprecated-sys-function,
|
||||
exception-escape,
|
||||
comprehension-escape,
|
||||
missing-docstring,
|
||||
missing-function-docstring,
|
||||
missing-module-docstring,
|
||||
raise-missing-from,
|
||||
|
||||
@@ -9,5 +9,5 @@ import sys
|
||||
|
||||
def limit_pool_size(task_queue):
|
||||
if sys.platform == 'darwin':
|
||||
task_queue._pool_size = min(task_queue._pool_size, 4)
|
||||
task_queue._pool_size = min(task_queue._pool_size, 4) # pylint: disable=protected-access
|
||||
|
||||
|
||||
Reference in New Issue
Block a user