Commit 1f37da4
committed
tox: fix pylint errors
Adapt configuration and code to pylint 2.14:
pylintrc:1 Unrecognized option found: no-space-check
[unrecognized-option]
pylintrc:1 Useless option value for '--disable', 'bad-continuation' was
removed from pylint, see pylint-dev/pylint#3571.
[useless-option-value]
pylintrc:1 Unknown option value for '--disable', expected a valid pylint
message and got 'no-self-use' [unknown-option-value]
libyang/diff.py:33 Lambda expression assigned to a variable. Define
a function using the "def" keyword instead.
[unnecessary-lambda-assignment]
libyang/keyed_list.py:118 Unnecessarily calls dunder method
__contains__. Use in keyword. [unnecessary-dunder-call]
setup.py:77 Implicit string concatenation found in call
[implicit-str-concat]
Signed-off-by: Robin Jarry <robin@jarry.cc>1 parent ed37465 commit 1f37da4
5 files changed
+105
-70
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments