Skip to content

Commit 9e80299

Browse files
author
Gerit Wagner
committed
docs/add copybutton
1 parent 0be6daa commit 9e80299

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Search-query is a Python package for **translating academic literature search queries (i.e., parsing and serializing)**, but also for **validating, simplifying, and improving** them.
1414
It implements various syntax validation checks ("linters" for search queries) and prints instructive messages to inform users about potential issues.
1515

16-
For more, see the [documentation](https://colrev-environment.github.io/search-query/).
16+
For more information, see the [documentation](https://colrev-environment.github.io/search-query/).
1717

1818
## How to cite
1919

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ dev = [
3939
]
4040

4141
[project.scripts]
42+
search-query = "search_query.cli:main"
4243
search-file-lint = "search_query.linter:main"
4344

4445
[tool.pylint.MAIN]

search_query/parser_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def get_token_types(self, tokens: list, *, legend: bool = False) -> str:
6868
def is_search_field(self, token: str) -> bool:
6969
"""Token is search field"""
7070

71+
# TODO: should be attributes of Token
7172
def is_parenthesis(self, token: str) -> bool:
7273
"""Token is parenthesis"""
7374
return token in ["(", ")"]

0 commit comments

Comments
 (0)