Expand supported python versions

This commit is contained in:
Andrea Mistrali 2024-05-12 08:59:30 +02:00
parent f28cbb920d
commit 112c117da9
Signed by: andre
SSH Key Fingerprint: SHA256:/D780pZnuHMQ8xFII5lAtXWy8zdowtBhgWjwi88p+lI
3 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ class ledPulse(threading.Thread):
pass
if self.supported:
import RPi.GPIO as GPIO
import RPi.GPIO as GPIO # type: ignore
GPIO.setwarnings(False) # disable warnings
GPIO.setmode(GPIO.BCM) # set pin numbering system
GPIO.setup(self.gpio, GPIO.OUT) # set GPIO for output

View File

@ -1,12 +1,12 @@
[tool.poetry]
name = "pulses"
version = "1.0.0"
version = "1.0.1"
description = "Pulse LEDs on RPi"
authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
python = ">=3.9,<4.0"
docopt = "^0.6.2"
[tool.poetry.scripts]

View File

@ -1,2 +1,2 @@
build
poetry
ipython