mirror of
https://github.com/searxng/searxng.git
synced 2025-11-05 03:53:08 -05:00
[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:
parent
602a73df9a
commit
3e7e404fda
@ -162,7 +162,7 @@ no-docstring-rgx=^_
|
|||||||
property-classes=abc.abstractproperty
|
property-classes=abc.abstractproperty
|
||||||
|
|
||||||
# Regular expression matching correct variable names
|
# 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]
|
[FORMAT]
|
||||||
|
|||||||
@ -42,7 +42,7 @@ test.pylint() {
|
|||||||
build_msg TEST "[pylint] ./searx ./searxng_extra ./tests"
|
build_msg TEST "[pylint] ./searx ./searxng_extra ./tests"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
pylint ${PYLINT_OPTIONS} ${PYLINT_VERBOSE} \
|
pylint ${PYLINT_OPTIONS} ${PYLINT_VERBOSE} \
|
||||||
--ignore=searx/engines \
|
--ignore-paths=searx/engines \
|
||||||
searx searx/searxng.msg \
|
searx searx/searxng.msg \
|
||||||
searxng_extra searxng_extra/docs_prebuild \
|
searxng_extra searxng_extra/docs_prebuild \
|
||||||
tests
|
tests
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user