ikostan/pico

View on GitHub
lessons/lesson_12/main.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Showing 4 of 4 total issues

Line too long (86 > 79 characters)
Open

Raspberry Pi Pico W LESSON 12: Understanding and Controlling an RGB LED in MicroPython
Severity: Minor
Found in lessons/lesson_12/main.py by pep8

Line too long (91 > 79 characters)
Open

f"from the list below:\n\n{all_colors}\n\ntype here -> ").lower()
Severity: Minor
Found in lessons/lesson_12/main.py by pep8

Variable name c doesn't conform to snake_case naming style
Open

for i, c in enumerate(colors[led_color]):
Severity: Info
Found in lessons/lesson_12/main.py by pylint

Variable name x doesn't conform to snake_case naming style
Open

x: int = calc_pwm(c)
Severity: Info
Found in lessons/lesson_12/main.py by pylint

There are no issues that match your filters.

Category
Status