mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
all: Format with black.
Also activate auto formatting. Bump flake8 and mark black disagreements in setup.cfg.
This commit is contained in:
@@ -7,6 +7,6 @@ my_remote = Remote()
|
||||
print(my_remote.name())
|
||||
|
||||
# Choose a new name.
|
||||
my_remote.name('truck2')
|
||||
my_remote.name("truck2")
|
||||
|
||||
print("Done!")
|
||||
|
||||
@@ -2,7 +2,7 @@ from pybricks.pupdevices import Remote
|
||||
from pybricks.tools import wait
|
||||
|
||||
# Connect to a remote called truck2.
|
||||
truck_remote = Remote('truck2', timeout=None)
|
||||
truck_remote = Remote("truck2", timeout=None)
|
||||
|
||||
print("Connected!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user