Skip to content

Commit ce12084

Browse files
authored
Merge pull request #6 from tekktrik/dev/annotation-fix
Minor type annotation fix
2 parents 53b07dc + 3964bde commit ce12084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_tla202x/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def add_values(
6565
cls.lsb[value] = lsb
6666

6767
@classmethod
68-
def is_valid(cls, value: str) -> bool:
68+
def is_valid(cls, value: int) -> bool:
6969
"Returns true if the given value is a member of the CV"
7070
return value in cls.string
7171

0 commit comments

Comments
 (0)