[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1f10c59cd3
commit
0eae340e13
|
@ -647,10 +647,12 @@ class Session(nodes.FSCollector):
|
||||||
errors = []
|
errors = []
|
||||||
for arg, collectors in self._notfound:
|
for arg, collectors in self._notfound:
|
||||||
if cols:
|
if cols:
|
||||||
errors.append(f"not found: {arg}\n(no name {arg!r} in any of {collectors!r})")
|
errors.append(
|
||||||
|
f"not found: {arg}\n(no name {arg!r} in any of {collectors!r})"
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
errors.append(f"found no collectors for {arg}")
|
errors.append(f"found no collectors for {arg}")
|
||||||
|
|
||||||
raise UsageError(*errors)
|
raise UsageError(*errors)
|
||||||
if not genitems:
|
if not genitems:
|
||||||
items = rep.result
|
items = rep.result
|
||||||
|
|
Loading…
Reference in New Issue