ikostan/pico

View on GitHub

Showing 19 of 19 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 (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 (86 > 79 characters)
Open

Raspberry Pi Pico W LESSON 9: Getting Analog Output Using PWM (Pulse Width Modulation)
Severity: Minor
Found in lessons/lesson_9_and_10/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

Line too long (87 > 79 characters)
Open

raise TypeError(f"Invalid parameter type: {type(val)}! Only integers allowed.")
Severity: Minor
Found in lessons/lesson_1/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

Line too long (86 > 79 characters)
Open

" 0 and 3.3 or type exit to stop the execution: ")
Severity: Minor
Found in lessons/lesson_9_and_10/main.py by pep8

BUG found
Open

# BUG: Dependabot couldn't fetch path-based dependencies (pip)
Severity: Minor
Found in .github/dependabot.yml by fixme

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

except VoltageError as e:
Severity: Info
Found in lessons/lesson_9_and_10/main.py by pylint

Unable to import 'machine'
Open

from machine import Pin
Severity: Critical
Found in wokwi/wokwi_pico/main.py by pylint

Constant name led doesn't conform to UPPER_CASE naming style
Open

led = Pin(5, Pin.OUT)
Severity: Info
Found in wokwi/wokwi_pico/main.py by pylint

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

Constant name led doesn't conform to UPPER_CASE naming style
Open

led = Pin(5, Pin.OUT)
Severity: Info
Found in wokwi/wokwi_pico_w/main.py by pylint

Useless super delegation in method '__init__'
Open

def __init__(self, message) -> None:
Severity: Minor
Found in lessons/lesson_9_and_10/main.py by pylint

Unable to import 'machine'
Open

from machine import Pin
Severity: Critical
Found in wokwi/wokwi_pico_w/main.py by pylint
Severity
Category
Status
Source
Language