all: Format with black.

Also activate auto formatting. Bump flake8 and mark black
disagreements in setup.cfg.
This commit is contained in:
Laurens Valk
2022-05-27 16:22:05 +02:00
parent 24f7d7c288
commit bd7806d2d4
60 changed files with 716 additions and 709 deletions
+1 -1
View File
@@ -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!")
+1 -1
View File
@@ -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!")