diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5279e94..27e492f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,7 +58,7 @@ jobs: - run: | sudo apt update sudo apt install --no-install-recommends -y x11-xserver-utils - - run: pip3 install mypy==0.982 flake8==5.0.4 pyright==1.1.274 --user + - run: pip3 install mypy==1.6.0 flake8==5.0.4 pyright==1.1.331 --user - run: echo "$HOME/.local/bin" >> $GITHUB_PATH - run: git clone https://github.com/sublimelsp/LSP.git - run: git clone https://github.com/SublimeText/sublime_lib.git diff --git a/st3/lsp_utils/_client_handler/interface.py b/st3/lsp_utils/_client_handler/interface.py index 77a4417..151fda8 100644 --- a/st3/lsp_utils/_client_handler/interface.py +++ b/st3/lsp_utils/_client_handler/interface.py @@ -70,6 +70,7 @@ def get_binary_arguments(cls) -> List[str]: ... @classmethod + @abstractmethod def read_settings(cls) -> Tuple[sublime.Settings, str]: ... diff --git a/tox.ini b/tox.ini index a6ee5a2..c310319 100644 --- a/tox.ini +++ b/tox.ini @@ -17,9 +17,9 @@ max-line-length = 120 [testenv] deps = - mypy==0.982 + mypy==1.6.0 flake8==5.0.4 - pyright==1.1.274 + pyright==1.1.331 commands = mypy st3/lsp_utils flake8 st3/lsp_utils tests