Skip to content

Commit 41418d4

Browse files
[pre-commit.ci] pre-commit autoupdate (#97)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent feec8de commit 41418d4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repos:
3232
- id: rst-inline-touching-normal
3333
- id: text-unicode-replacement-char
3434
- repo: https://github.com/asottile/pyupgrade
35-
rev: v2.18.2
35+
rev: v2.19.1
3636
hooks:
3737
- id: pyupgrade
3838
args: [--py36-plus]
@@ -45,7 +45,7 @@ repos:
4545
hooks:
4646
- id: setup-cfg-fmt
4747
- repo: https://github.com/psf/black
48-
rev: 21.5b1
48+
rev: 21.5b2
4949
hooks:
5050
- id: black
5151
- repo: https://github.com/asottile/blacken-docs

src/_pytask/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,5 @@ def _export_to_json(profile):
261261

262262
def _get_info_names(profile):
263263
"""Get names of infos of tasks."""
264-
info_names = sorted(set().union(*[set(val) for val in profile.values()]))
264+
info_names = sorted(set().union(*(set(val) for val in profile.values())))
265265
return info_names

0 commit comments

Comments
 (0)