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 pass
if self.supported: if self.supported:
import RPi.GPIO as GPIO import RPi.GPIO as GPIO # type: ignore
GPIO.setwarnings(False) # disable warnings GPIO.setwarnings(False) # disable warnings
GPIO.setmode(GPIO.BCM) # set pin numbering system GPIO.setmode(GPIO.BCM) # set pin numbering system
GPIO.setup(self.gpio, GPIO.OUT) # set GPIO for output GPIO.setup(self.gpio, GPIO.OUT) # set GPIO for output

View File

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

View File

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