Skip to content

Commit

Permalink
use type instead of Literal
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Apr 25, 2024
1 parent 048f911 commit 7b522d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def version_from_generation(pipette_name_tuple: Tuple[str, ...]) -> PipetteVersi
paths_to_validate / channel_from_pipette_name / model_from_pipette_name
)

highest_minor_version: Literal[0, 1, 2, 3, 4, 5, 6] = 0
highest_minor_version: PipetteModelMinorVersionType = 0

for version_file in version_paths.iterdir():
version_list = version_file.stem.split("_")
Expand Down

0 comments on commit 7b522d5

Please sign in to comment.