Skip to content

Commit d6ae891

Browse files
committed
pylintrc ignore import. run pre-commit black formatting.
1 parent 0154167 commit d6ae891

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
repos:
66
- repo: https://github.com/python/black
7-
rev: 19.10b0
7+
rev: 20.8b1
88
hooks:
99
- id: black
1010
- repo: https://github.com/fsfe/reuse-tool
11-
rev: latest
11+
rev: v0.12.1
1212
hooks:
1313
- id: reuse
1414
- repo: https://github.com/pre-commit/pre-commit-hooks

.pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ ignore-comments=yes
250250
ignore-docstrings=yes
251251

252252
# Ignore imports when computing similarities.
253-
ignore-imports=no
253+
ignore-imports=yes
254254

255255
# Minimum lines number of a similarity.
256256
min-similarity-lines=4

adafruit_esp32spi/adafruit_esp32spi.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ def get_scan_networks(self):
394394

395395
def scan_networks(self):
396396
"""Scan for visible access points, returns a list of access point details.
397-
Returns a list of dictionaries with 'ssid', 'rssi' and 'encryption' entries,
398-
one for each AP found"""
397+
Returns a list of dictionaries with 'ssid', 'rssi' and 'encryption' entries,
398+
one for each AP found"""
399399
self.start_scan_networks()
400400
for _ in range(10): # attempts
401401
time.sleep(2)

adafruit_esp32spi/adafruit_esp32spi_socket.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ def readline(self):
106106

107107
def recv(self, bufsize=0):
108108
"""Reads some bytes from the connected remote address. Will only return
109-
an empty string after the configured timeout.
109+
an empty string after the configured timeout.
110110
111-
:param int bufsize: maximum number of bytes to receive
111+
:param int bufsize: maximum number of bytes to receive
112112
"""
113113
# print("Socket read", bufsize)
114114
if bufsize == 0: # read as much as we can at the moment

0 commit comments

Comments
 (0)