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
+2 -2
View File
@@ -10,10 +10,10 @@ sensor = Ev3devSensor(Port.S3)
while True:
# Read the raw RGB values
r, g, b = sensor.read('RGB-RAW')
r, g, b = sensor.read("RGB-RAW")
# Print results
print('R: {0}\t G: {1}\t B: {2}'.format(r, g, b))
print("R: {0}\t G: {1}\t B: {2}".format(r, g, b))
# Wait
wait(200)