Markus Heiser
6c9dcd4242
[chore] complete and normalize the attributes of engine objects ( #6258 )
...
Drop outdated engine attributes: supported_languages, language_aliases
Complete, normalize and document the type definitions for the engine-module and
engine-class.
For the ``engine.about`` section of the configuration, a type check is performed
based on structure ``searx.enginelib.EngineAbout``.
The property ``engine.about.language`` no longer exists; existing values have
been migrated to ``engine.language``.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2026-06-15 10:52:00 +02:00
Markus Heiser
81cbe0befe
[upd] pypi: Bump black from 24.3.0 to 25.9.0 ( #5251 )
...
In 25.1.0 [2] an old bug has been fixed: "Docstring formatting does not apply to
module docstrings" [3].
[1] https://github.com/psf/black/blob/main/CHANGES.md#2590
[2] https://github.com/psf/black/blob/main/CHANGES.md#2510
[3] https://github.com/psf/black/issues/4094
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2025-09-26 12:35:57 +02:00
Markus Heiser
8205f170ff
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2024-03-11 14:55:38 +01:00
Markus Heiser
53b5a804e2
[fix] engine mediathekviewweb: replace http links by https
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-07 19:49:16 +01:00
Markus Heiser
943a7fdcb5
[mod] mediathekviewweb engine: add iframe_src and use videos template
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-02-19 00:50:54 +01:00
Markus Heiser
3d96a9839a
[format.python] initial formatting of the python code
...
This patch was generated by black [1]::
make format.python
[1] https://github.com/psf/black
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-27 09:26:22 +01:00
Martin Fischer
e28c6bda35
[doc] introduce about.language and sort engines by it
2021-12-21 09:58:51 +01:00
Markus Heiser
f0059b80ed
[pylint] engines: drop no longer needed 'missing-function-docstring'
...
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-09-07 13:26:59 +02:00
Markus Heiser
dc29f1d826
[pylint] tag PYLINT_FILES by comment # lint: pylint
...
These py files are linted by `test.pylint`, all other files are linted by
`test.pep8`.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-04-26 20:18:20 +02:00
Markus Heiser
bc1be3f0e9
[enh] add engine MediathekViewWeb (API)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-02-09 13:08:01 +01:00