Skip to content

Commit 07c420e

Browse files
committed
remove bad-whitespace pylint directive
1 parent 2d96967 commit 07c420e

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

adafruit_wiznet5k/adafruit_wiznet5k.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
__version__ = "0.0.0-auto.0"
5454
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k.git"
5555

56-
# pylint: disable=bad-whitespace
5756

5857
# Wiznet5k Registers
5958
REG_MR = const(0x0000) # Mode
@@ -124,7 +123,6 @@
124123
SNMR_MACRAW = const(0x04)
125124
SNMR_PPPOE = const(0x05)
126125

127-
# pylint: enable=bad-whitespace
128126
MAX_PACKET = const(4000)
129127
LOCAL_PORT = const(0x400)
130128
# Default hardware MAC address

adafruit_wiznet5k/adafruit_wiznet5k_dhcp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import adafruit_wiznet5k.adafruit_wiznet5k_socket as socket
3737
from adafruit_wiznet5k.adafruit_wiznet5k_socket import htonl, htons
3838

39-
# pylint: disable=bad-whitespace
4039

4140
# DHCP State Machine
4241
STATE_DHCP_START = const(0x00)
@@ -87,7 +86,6 @@
8786
OPT_END = 255
8887

8988

90-
# pylint: enable=bad-whitespace
9189
_BUFF = bytearray(317)
9290

9391

adafruit_wiznet5k/adafruit_wiznet5k_dns.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import adafruit_wiznet5k.adafruit_wiznet5k_socket as socket
3737
from adafruit_wiznet5k.adafruit_wiznet5k_socket import htons
3838

39-
# pylint: disable=bad-whitespace
4039

4140
QUERY_FLAG = const(0x00)
4241
OPCODE_STANDARD_QUERY = const(0x00)
@@ -54,7 +53,6 @@
5453
INVALID_RESPONSE = const(-4)
5554

5655
DNS_PORT = const(0x35) # port used for DNS request
57-
# pylint: enable=bad-whitespace
5856

5957

6058
class DNS:

adafruit_wiznet5k/adafruit_wiznet5k_socket.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,11 @@ def htons(x):
5858
return (((x) << 8) & 0xFF00) | (((x) >> 8) & 0xFF)
5959

6060

61-
# pylint: disable=bad-whitespace
6261
SOCK_STREAM = const(0x21) # TCP
6362
TCP_MODE = 80
6463
SOCK_DGRAM = const(0x02) # UDP
6564
AF_INET = const(3)
6665
NO_SOCKET_AVAIL = const(255)
67-
# pylint: enable=bad-whitespace
6866

6967
# keep track of sockets we allocate
7068
SOCKETS = []

0 commit comments

Comments
 (0)