kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Python: Fix new linting errors.
rodzic
527b97fb91
commit
b529475148
|
@ -29,7 +29,7 @@ def value_to_char(value):
|
||||||
return chosen_char * 2 # Double chars to - sort of - correct aspect ratio
|
return chosen_char * 2 # Double chars to - sort of - correct aspect ratio
|
||||||
|
|
||||||
|
|
||||||
while(True):
|
while True:
|
||||||
print("Capturing...")
|
print("Capturing...")
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ ty = 0
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
while(True):
|
while True:
|
||||||
delta = flo.get_motion()
|
delta = flo.get_motion()
|
||||||
if delta is not None:
|
if delta is not None:
|
||||||
x = delta[0]
|
x = delta[0]
|
||||||
|
|
|
@ -16,7 +16,7 @@ import usocket as socket
|
||||||
|
|
||||||
log = logging.getLogger('WEB')
|
log = logging.getLogger('WEB')
|
||||||
|
|
||||||
type_gen = type((lambda: (yield))())
|
type_gen = type((lambda: (yield))()) # noqa: E275
|
||||||
|
|
||||||
# uasyncio v3 is shipped with MicroPython 1.13, and contains some subtle
|
# uasyncio v3 is shipped with MicroPython 1.13, and contains some subtle
|
||||||
# but breaking changes. See also https://github.com/peterhinch/micropython-async/blob/master/v3/README.md
|
# but breaking changes. See also https://github.com/peterhinch/micropython-async/blob/master/v3/README.md
|
||||||
|
|
Ładowanie…
Reference in New Issue