Skip to content

Commit

Permalink
fix(project): bad type union.
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Jan 30, 2023
1 parent 2610c2a commit 3d32e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micropy/project/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class CodeTemplate(Template):
FILENAME = ".vscode/settings.json"

# TODO: rewrite this module and have proper DI
language_server: Union[Literal["mpls"] | Literal["pylance"]]
language_server: Union[Literal["mpls"], Literal["pylance"]]

def __init__(self, *args, **kwargs):
self.update_method = self.update_as_json
Expand Down

0 comments on commit 3d32e5c

Please sign in to comment.