Skip to content

Commit f0dced8

Browse files
[pre-commit.ci] pre-commit autoupdate (#481)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/PyCQA/autoflake: v2.0.1 → v2.0.2](PyCQA/autoflake@v2.0.1...v2.0.2) * Update .pre-commit-config.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bruno Oliveira <[email protected]>
1 parent f166fa7 commit f0dced8

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
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/PyCQA/autoflake
3-
rev: v2.0.1
3+
rev: v2.0.2
44
hooks:
55
- id: autoflake
66
name: autoflake
@@ -28,7 +28,7 @@ repos:
2828
rev: 1.13.0
2929
hooks:
3030
- id: blacken-docs
31-
additional_dependencies: [black==20.8b1]
31+
additional_dependencies: [black==23.1.0]
3232
language_version: python3
3333
- repo: https://github.com/PyCQA/flake8
3434
rev: 6.0.0

src/pytestqt/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def format_captured_exceptions(exceptions):
7979
stream.write("Exceptions caught in Qt event loop:\n")
8080
sep = "_" * 80 + "\n"
8181
stream.write(sep)
82-
for (exc_type, value, tback) in exceptions:
82+
for exc_type, value, tback in exceptions:
8383
traceback.print_exception(exc_type, value, tback, file=stream)
8484
stream.write(sep)
8585
return stream.getvalue()

src/pytestqt/modeltest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454

5555

5656
class _ChangeInFlight(enum.Enum):
57-
5857
COLUMNS_INSERTED = enum.auto()
5958
COLUMNS_MOVED = enum.auto()
6059
COLUMNS_REMOVED = enum.auto()

tests/test_basics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ def _fake_is_library_loaded(name, *args):
592592
],
593593
)
594594
def test_already_loaded_backend(monkeypatch, option_api, backend):
595-
596595
import builtins
597596

598597
class Mock:

0 commit comments

Comments
 (0)