Skip to content

Commit

Permalink
Bump version (#87)
Browse files Browse the repository at this point in the history
* Bump version

* Format

* Fix spelling error
  • Loading branch information
Moosems authored Aug 7, 2024
1 parent c0b6f03 commit db662e3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Fixes #__.
To do:
- [ ] ...

Cuurent changes in PR:
Current changes in PR:
- ...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align="center">Salve v1.1.0</h1>
<h1 align="center">Salve v1.1.1</h1>

# Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 16 additions & 6 deletions salve/wrappers.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -11,23 +11,29 @@
)


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
current_word=request["current_word"], # type: ignore
)


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
replaceable_word=request["current_word"], # type: ignore
)


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
Expand All @@ -39,15 +45,19 @@ 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
request["current_word"], # type: ignore
)


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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
Expand Down

0 comments on commit db662e3

Please sign in to comment.