[fix] issues reported by Pylint 4.0

Last major update of Pylint brings some breaking changes [1], fixed in this
patch.

[1] https://pylint.readthedocs.io/en/latest/whatsnew/4/4.0/index.html#breaking-changes
This commit is contained in:
Markus Heiser 2025-10-17 15:29:15 +02:00 committed by Markus Heiser
parent 602a73df9a
commit 3e7e404fda
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ no-docstring-rgx=^_
property-classes=abc.abstractproperty
# Regular expression matching correct variable names
variable-rgx=(([a-z][a-zA-Z0-9_]{2,30})|(_[a-z0-9_]*)|([a-z]))$
variable-rgx=([a-zA-Z0-9_]*)$
[FORMAT]

View File

@ -42,7 +42,7 @@ test.pylint() {
build_msg TEST "[pylint] ./searx ./searxng_extra ./tests"
# shellcheck disable=SC2086
pylint ${PYLINT_OPTIONS} ${PYLINT_VERBOSE} \
--ignore=searx/engines \
--ignore-paths=searx/engines \
searx searx/searxng.msg \
searxng_extra searxng_extra/docs_prebuild \
tests