PEP8 fixes

This commit is contained in:
Vansh Comar 2021-10-20 17:54:30 +05:30
parent 96a0862f1e
commit 68abd54571
6 changed files with 8 additions and 11 deletions

View File

@ -141,11 +141,11 @@ def append_nojs(result: BeautifulSoup) -> None:
def add_ip(html_soup: BeautifulSoup, ip: str) -> BeautifulSoup:
"""Adds the client's IP address to the search results if query contains keywords
"""Adds the client's IP address to the search results
if query contains keywords
Args:
query: Query of the client
response: The search result containing the keywords
html_soup: The parsed search result containing the keywords
ip: ip address of the client
Returns:

View File

@ -166,9 +166,6 @@ class Search:
def check_kw_ip(self) -> bool:
"""Checks for keywords related to 'my ip' in the query
Args:
query: Query of the client
Returns:
bool