Skip to content

Commit 1a941ed

Browse files
[pre-commit.ci] pre-commit autoupdate (#14)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 04c2d59 commit 1a941ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v2.16.0
15+
rev: v2.18.2
1616
hooks:
1717
- id: pyupgrade
1818
- repo: https://github.com/PyCQA/isort

tests/test_print.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_progress_v_relative(progress_report_example):
5858
marker = "test_example.py::test_global_peace "
5959
assert marker in result_verbose_relative.outlines, out
6060
output = (i.split("\t") for i in result_verbose_relative.outlines if i.startswith("\t"))
61-
out = sorted([(float(relative), msg) for _, relative, msg in output])
61+
out = sorted((float(relative), msg) for _, relative, msg in output)
6262

6363
assert [msg for _, msg in out] == [
6464
"attempt global peace",

0 commit comments

Comments
 (0)