diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-03 12:58:48 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-05 16:09:40 +0100 |
| commit | 295876abaa93b8dea44dc0beaf8eb2596da69aed (patch) | |
| tree | 519246c2905622455309ae7ba6ea634c5a356016 /searxng_extra/update/update_currencies.py | |
| parent | ffea5d8ef5540bc4be08b2b26e1819d5401f854d (diff) | |
[pylint] add scripts from searxng_extra/update to pylint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searxng_extra/update/update_currencies.py')
| -rwxr-xr-x | searxng_extra/update/update_currencies.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/searxng_extra/update/update_currencies.py b/searxng_extra/update/update_currencies.py index cdff4cbc9..e51692e72 100755 --- a/searxng_extra/update/update_currencies.py +++ b/searxng_extra/update/update_currencies.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# lint: pylint # SPDX-License-Identifier: AGPL-3.0-or-later """Fetch currencies from :origin:`searx/engines/wikidata.py` engine. @@ -7,13 +8,15 @@ Output file: :origin:`searx/data/currencies.json` (:origin:`CI Update data ... <.github/workflows/data-update.yml>`). """ + +# pylint: disable=invalid-name + import re import unicodedata import json # set path -from sys import path -from os.path import realpath, dirname, join +from os.path import join from searx import searx_dir from searx.locales import LOCALE_NAMES |