diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 127a43f..4be529a 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,5 +3,5 @@ Fixes #__. To do: - [ ] ... -Cuurent changes in PR: +Current changes in PR: - ... diff --git a/README.md b/README.md index 0aa0c13..62e706a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

Salve v1.1.0

+

Salve v1.1.1

# Installation diff --git a/docs/source/conf.py b/docs/source/conf.py index 617ee17..cefc25b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,7 +14,7 @@ project = "Salve" copyright = "2024, Moosems" author = "Moosems" -release = "v1.1.0" +release = "v1.1.1" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/salve/wrappers.py b/salve/wrappers.py index d79f6d3..dc6ccc0 100644 --- a/salve/wrappers.py +++ b/salve/wrappers.py @@ -1,4 +1,4 @@ -from collegamento import Request, FileServer +from collegamento import FileServer, Request from pyeditorconfig import get_config from token_tools import Token, normal_text_range @@ -11,7 +11,9 @@ ) -def find_autocompletions_request_wrapper(server: FileServer, request: Request) -> list[str]: +def find_autocompletions_request_wrapper( + server: FileServer, request: Request +) -> list[str]: return find_autocompletions( full_text=request["file"], # type: ignore expected_keywords=request["expected_keywords"], # type: ignore @@ -19,7 +21,9 @@ def find_autocompletions_request_wrapper(server: FileServer, request: Request) - ) -def get_replacements_request_wrapper(server: FileServer, request: Request) -> list[str]: +def get_replacements_request_wrapper( + server: FileServer, request: Request +) -> list[str]: return get_replacements( full_text=request["file"], # type: ignore expected_keywords=request["expected_keywords"], # type: ignore @@ -27,7 +31,9 @@ def get_replacements_request_wrapper(server: FileServer, request: Request) -> li ) -def get_highlights_request_wrapper(server: FileServer, request: Request) -> list[Token]: +def get_highlights_request_wrapper( + server: FileServer, request: Request +) -> list[Token]: return get_highlights( full_text=request["file"], # type: ignore language=request["language"], # type: ignore @@ -39,7 +45,9 @@ def editorconfig_request_wrapper(server: FileServer, request: Request) -> dict: return get_config(request["file_path"]) # type: ignore -def get_definition_request_wrapper(server: FileServer, request: Request) -> Token: +def get_definition_request_wrapper( + server: FileServer, request: Request +) -> Token: return get_definition( request["file"], # type: ignore request["definition_starters"], # type: ignore @@ -47,7 +55,9 @@ def get_definition_request_wrapper(server: FileServer, request: Request) -> Toke ) -def get_special_tokens_request_wrapper(server: FileServer, request: Request) -> list[Token]: +def get_special_tokens_request_wrapper( + server: FileServer, request: Request +) -> list[Token]: return get_special_tokens( request["file"], # type: ignore normal_text_range(request["file"], request["text_range"])[ # type: ignore diff --git a/setup.py b/setup.py index 71d3055..4bb9591 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="salve", - version="1.1.0", + version="1.1.1", description="Salve is an IPC library that can be used by code editors to easily get autocompletions, replacements, editorconfig suggestions, definitions, and syntax highlighting.", author="Moosems", author_email="moosems.j@gmail.com",