8000 Fix style errors · mysql/mysql-connector-python@ec87ba4 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec87ba4

Browse files
committed
Fix style errors
Also, update black and isort pre-commit hooks to the latest versions. Change-Id: I7bfa6330bbb2e89c11e6f040a8dfc9e5bb98430f
1 parent 1262b1d commit ec87ba4

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828

2929
repos:
3030
- repo: https://github.com/psf/black
31-
rev: 23.1.0
31+
rev: 23.3.0
3232
hooks:
3333
- id: black
3434
- repo: https://github.com/pycqa/isort
35-
rev: 5.10.1
35+
rev: 5.12.0
3636
hooks:
3737
- id: isort
3838
- repo: https://github.com/pre-commit/mirrors-mypy

lib/mysqlx/protocol.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,7 @@
6464
)
6565
from .helpers import encode_to_bytes, get_item_or_attr
6666
from .logger import logger
67-
from .protobuf import (
68-
CRUD_PREPARE_MAPPING,
69-
SERVER_MESSAGES,
70-
Message,
71-
mysqlxpb_enum,
72-
)
67+
from .protobuf import CRUD_PREPARE_MAPPING, SERVER_MESSAGES, Message, mysqlxpb_enum
7368
from .result import Column
7469
from .statement import (
7570
AddStatement,

0 commit comments

Comments
 (0)
0