Markus Heiser
|
2de007138c
|
[fix] prepare for pylint 2.14.0
Remove issue reported by Pylint 2.14.0:
- no-self-use: has been moved to optional extension [1]
- The refactoring checker now also raises 'consider-using-generator' messages
for max(), min() and sum(). [2]
.pylintrc:
- <option name>-hint has been removed since long, Pylint 2.14.0 raises an
error on invalid options
- bad-continuation and bad-whitespace have been removed [3]
[1] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/summary.html#removed-checkers
[2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/full.html#what-s-new-in-pylint-2-14-0
[2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.6/summary.html#summary-release-highlights
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
2022-06-03 15:41:52 +02:00 |
|
Markus Heiser
|
fe6470cbe6
|
[pylint] disable consider-using-f-string in .pylintrc
Pylint 2.11 added [1][2]
consider-using-f-string:
Emitted when .format() or '%' is being used to format a string.
We're not ready to enforce f-strings everywhere, so just disable this new
warning.
[1] https://pylint.pycqa.org/en/latest/whatsnew/2.11.html
[2] https://github.com/PyCQA/pylint/issues/3592
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
2021-09-17 09:22:11 +02:00 |
|
Markus Heiser
|
5c86754340
|
[pylint] .pylintrc - disable 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:25:26 +02:00 |
|
Alexandre Flament
|
d7f21484ee
|
[mod] pylint: add extension-pkg-whitelist=lxml.etree
|
2020-11-02 15:55:19 +01:00 |
|
Markus Heiser
|
796197db2d
|
boilerplate: add pylint / WIP: balance linting with pylint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
2019-11-28 20:07:10 +01:00 |
|