Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v2.16.0
rev: v2.18.2
hooks:
- id: pyupgrade
- repo: https://github.com/PyCQA/isort
Expand Down
2 changes: 1 addition & 1 deletion tests/test_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_progress_v_relative(progress_report_example):
marker = "test_example.py::test_global_peace "
assert marker in result_verbose_relative.outlines, out
output = (i.split("\t") for i in result_verbose_relative.outlines if i.startswith("\t"))
out = sorted([(float(relative), msg) for _, relative, msg in output])
out = sorted((float(relative), msg) for _, relative, msg in output)

assert [msg for _, msg in out] == [
"attempt global peace",
Expand Down