Skip to content

Commit 7ca699a

Browse files
committed
Make Precommit happy
1 parent 602c358 commit 7ca699a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

ports/espressif/common-hal/socketpool/Socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ STATIC bool _socketpool_socket(socketpool_socketpool_obj_t *self,
196196
#endif
197197
}
198198

199-
ipproto=proto;
199+
ipproto = proto;
200200

201201
int socket_type;
202202
if (type == SOCKETPOOL_SOCK_STREAM) {

shared-bindings/socketpool/SocketPool.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ MP_DEFINE_EXCEPTION(gaierror, OSError)
8686
//|
8787
//| IP_MULTICAST_TTL: int
8888
//|
89-
//| def socket(self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = 0) -> socketpool.Socket:
89+
//| def socket(
90+
//| self, family: int = AF_INET, type: int = SOCK_STREAM, proto: int = 0
91+
//| ) -> socketpool.Socket:
9092
//| """Create a new socket
9193
//|
9294
//| :param ~int family: AF_INET or AF_INET6

0 commit comments

Comments
 (0)