Expand supported python versions
This commit is contained in:
parent
f28cbb920d
commit
112c117da9
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
build
|
||||
poetry
|
||||
ipython
|
||||
|
|
Loading…
Reference in New Issue