Skip to content

Commit 952caf8

Browse files
[pre-commit.ci] pre-commit autoupdate (#316)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Raabe <[email protected]>
1 parent ac2a5e3 commit 952caf8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.4.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=25']
@@ -35,7 +35,7 @@ repos:
3535
- id: reorder-python-imports
3636
args: [--py37-plus, --add-import, 'from __future__ import annotations']
3737
- repo: https://github.com/asottile/pyupgrade
38-
rev: v3.2.2
38+
rev: v3.3.1
3939
hooks:
4040
- id: pyupgrade
4141
args: [--py37-plus]
@@ -49,7 +49,7 @@ repos:
4949
- id: docformatter
5050
args: [--in-place, --wrap-summaries, "88", --wrap-descriptions, "88", --blank]
5151
- repo: https://github.com/psf/black
52-
rev: 22.10.0
52+
rev: 22.12.0
5353
hooks:
5454
- id: black
5555
- repo: https://github.com/PyCQA/flake8
@@ -73,7 +73,7 @@ repos:
7373
Pygments,
7474
]
7575
- repo: https://github.com/dosisod/refurb
76-
rev: v1.7.0
76+
rev: v1.8.0
7777
hooks:
7878
- id: refurb
7979
args: [--ignore, FURB126]
@@ -122,13 +122,13 @@ repos:
122122
- id: codespell
123123
additional_dependencies: [tomli]
124124
- repo: https://github.com/mgedmin/check-manifest
125-
rev: "0.48"
125+
rev: "0.49"
126126
hooks:
127127
- id: check-manifest
128128
args: [--no-build-isolation]
129129
additional_dependencies: [setuptools-scm, toml]
130130
- repo: https://github.com/pre-commit/mirrors-mypy
131-
rev: 'v0.990'
131+
rev: 'v0.991'
132132
hooks:
133133
- id: mypy
134134
args: [

tests/test_live.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def task_b():
331331

332332
lines = result.output.split("\n")
333333
task_names = [re.findall("task_[a|b]", line) for line in lines]
334-
task_names = [name[0][-1] for name in task_names if name != []]
334+
task_names = [name[0][-1] for name in task_names if name]
335335
expected = ["a", "b"] if sort_table else ["b", "a"]
336336
assert expected == task_names
337337

0 commit comments

Comments
 (0)