Migrate to official pycqa/flake8 hooks repo

Committed via https://github.com/asottile/all-repos
This commit is contained in:
Anthony Sottile
2019-01-30 00:39:01 -08:00
parent b268b37482
commit 29460606b2
3 changed files with 13 additions and 10 deletions

View File

@@ -58,8 +58,8 @@ def partition(cmd, varargs, target_concurrency, _max_length=None):
arg_length = _command_length(arg) + 1
if (
total_length + arg_length <= _max_length
and len(ret_cmd) < max_args
total_length + arg_length <= _max_length and
len(ret_cmd) < max_args
):
ret_cmd.append(arg)
total_length += arg_length