summaryrefslogtreecommitdiff
path: root/searx/infopage
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-06-03 15:41:52 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-06-03 15:41:52 +0200
commit2de007138ca1820e865c574cc13429d5da3f019f (patch)
treee51c29aeebc52cd0c2cb3daa45fbfacf396cd778 /searx/infopage
parent658e04077b2f647156965610461755682d7cd399 (diff)
downloadsearxng-2de007138ca1820e865c574cc13429d5da3f019f.tar.gz
searxng-2de007138ca1820e865c574cc13429d5da3f019f.zip
[fix] prepare for pylint 2.14.0
Remove issue reported by Pylint 2.14.0: - no-self-use: has been moved to optional extension [1] - The refactoring checker now also raises 'consider-using-generator' messages for max(), min() and sum(). [2] .pylintrc: - <option name>-hint has been removed since long, Pylint 2.14.0 raises an error on invalid options - bad-continuation and bad-whitespace have been removed [3] [1] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/summary.html#removed-checkers [2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/full.html#what-s-new-in-pylint-2-14-0 [2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.6/summary.html#summary-release-highlights Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/infopage')
-rw-r--r--searx/infopage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/infopage/__init__.py b/searx/infopage/__init__.py
index f8be73f09..4aebfa5a7 100644
--- a/searx/infopage/__init__.py
+++ b/searx/infopage/__init__.py
@@ -81,7 +81,7 @@ class InfoPage:
MarkdownIt("commonmark", {"typographer": True}).enable(["replacements", "smartquotes"]).render(self.content)
)
- def get_ctx(self): # pylint: disable=no-self-use
+ def get_ctx(self):
"""Jinja context to render :py:obj:`InfoPage.content`"""
def _md_link(name, url):