1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 10:50:09 +01:00
searxng/searx/search/processors
Markus Heiser 24f2376c11 [pylint] prepare for pylint v2.9.3 / fix some (new) pylint issues
Upgrade from pylint v2.8.3 to 2.9.3 raise some new issues::

  searx/search/checker/__main__.py:37:26: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
  searx/search/checker/__main__.py:38:26: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
  searx/search/processors/__init__.py:20:0: R0402: Use 'from searx import engines' instead (consider-using-from-import)
  searx/preferences.py:182:19: C0207: Use data.split('-', maxsplit=1)[0] instead (use-maxsplit-arg)
  searx/preferences.py:506:15: R1733: Unnecessary dictionary index lookup, use 'user_setting' instead (unnecessary-dict-index-lookup)
  searx/webapp.py:436:0: C0206: Consider iterating with .items() (consider-using-dict-items)
  searx/webapp.py:950:4: C0206: Consider iterating with .items() (consider-using-dict-items)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-03 17:54:08 +02:00
..
__init__.py [pylint] prepare for pylint v2.9.3 / fix some (new) pylint issues 2021-07-03 17:54:08 +02:00
abstract.py [mod] multithreading only in searx.search.* packages 2021-05-05 13:12:42 +02:00
offline.py [lint] pylint searx/search/processors files / BTW add some doc-strings 2021-04-27 15:13:39 +02:00
online_currency.py [lint] pylint searx/search/processors files / BTW add some doc-strings 2021-04-27 15:13:39 +02:00
online_dictionary.py [fix] typo: online_dictionnary --> online_dictionary 2021-06-04 15:05:58 +02:00
online.py [mod] multithreading only in searx.search.* packages 2021-05-05 13:12:42 +02:00