Skip to content

Commit

Permalink
fix: remove TypeAlias for Python 3.8 compatibility
Browse files Browse the repository at this point in the history
fix #3
  • Loading branch information
lljbash committed Jul 22, 2024
1 parent 4cbc11f commit c827cc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clangd-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ from pylspclient.lsp_endpoint import LspEndpoint
from pylspclient.lsp_client import LspClient
from pylspclient.lsp_structs import TextDocumentItem, LANGUAGE_IDENTIFIER

__version__ = "0.2.0"
__version__ = "0.2.1"


class ReadPipe(threading.Thread):
Expand Down
4 changes: 2 additions & 2 deletions diagnostic_formatter.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from abc import ABC, abstractmethod
import os
import re
from typing import Any, Iterable, List, Optional, Tuple, TypeAlias
from typing import Any, Iterable, Optional, Tuple


DiagnosticCollection: TypeAlias = Iterable[Tuple[str, Any]]
DiagnosticCollection = Iterable[Tuple[str, Any]]


class DiagnosticFormatter(ABC):
Expand Down

0 comments on commit c827cc0

Please sign in to comment.