Skip to content

Commit 4ac0993

Browse files
committed
fixing linter
1 parent a567551 commit 4ac0993

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

readthedocs/search/faceted_search.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ class FileSearch(RTDFacetedSearch):
3232
}
3333

3434
def query(self, search, query):
35-
"""Add query part to ``search``."""
36-
35+
"""Add query part to ``search``"""
3736
if query:
3837
all_queries = []
3938

readthedocs/search/tests/test_faceted_search.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def test_search_exact_match(self, client, project, case):
1212
Making a query with quoted text like ``"foo bar"`` should match
1313
exactly ``foo bar`` or ``Foo Bar`` etc
1414
"""
15-
1615
# `Github` word is present both in `kuma` and `pipeline` files
1716
# But the phrase Github can is available only in kuma docs.
1817
# So search with this phrase to check
@@ -35,7 +34,6 @@ def test_search_combined_result(self, client, project):
3534
- Where both `Foo Bar` is present
3635
- Where `Foo` or `Bar` is present
3736
"""
38-
3937
query = 'Official Support'
4038
page_search = PageDocument.faceted_search(query=query)
4139
results = page_search.execute()

0 commit comments

Comments
 (0)