Skip to content

Commit 7f2426b

Browse files
authored
Merge pull request #665 from pytest-dev/pre-commit-ci-update-config
2 parents f36ee80 + 0c84201 commit 7f2426b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 21.5b1
3+
rev: 21.5b2
44
hooks:
55
- id: black
66
args: [--safe, --quiet, --target-version, py35]
@@ -17,7 +17,7 @@ repos:
1717
hooks:
1818
- id: flake8
1919
- repo: https://github.com/asottile/pyupgrade
20-
rev: v2.16.0
20+
rev: v2.19.0
2121
hooks:
2222
- id: pyupgrade
2323
args: [--py3-plus]

src/xdist/looponfail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, config):
6161

6262
def trace(self, *args):
6363
if self.config.option.debug:
64-
msg = " ".join([str(x) for x in args])
64+
msg = " ".join(str(x) for x in args)
6565
print("RemoteControl:", msg)
6666

6767
def initgateway(self):

src/xdist/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ def report_collection_diff(from_collection, to_collection, from_id, to_id):
1616
"The difference is:\n"
1717
"{diff}"
1818
).format(from_id=from_id, to_id=to_id, diff="\n".join(diff))
19-
msg = "\n".join([x.rstrip() for x in error_message.split("\n")])
19+
msg = "\n".join(x.rstrip() for x in error_message.split("\n"))
2020
return msg

0 commit comments

Comments
 (0)