ikostan/pico

View on GitHub
lessons/lesson_7_and_8/main.py

Summary

Maintainability
A
0 mins
Test Coverage
A
90%

Showing 5 of 5 total issues

Line too long (83 > 79 characters)
Open

Raspberry Pi Pico W LESSON 7: Controlling 3 LED with a Potentiometer in Micropython
Severity: Minor
Found in lessons/lesson_7_and_8/main.py by pep8

Line too long (80 > 79 characters)
Open

turn_led_on(LED_COLOR) # Turn ON corresponding LED
Severity: Minor
Found in lessons/lesson_7_and_8/main.py by pep8

Line too long (84 > 79 characters)
Open

Raspberry Pi Pico W LESSON 8: Compound Conditionals and If Statements in MicroPython
Severity: Minor
Found in lessons/lesson_7_and_8/main.py by pep8

Line too long (88 > 79 characters)
Open

return int(slope * (read_value - 0)) # calculate Y and converted to integer value
Severity: Minor
Found in lessons/lesson_7_and_8/main.py by pep8

Line too long (89 > 79 characters)
Open

LED_COLOR: str = value_to_color(VALUE) # Get color based on converted value
Severity: Minor
Found in lessons/lesson_7_and_8/main.py by pep8
Category
Status