We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7e1d91 commit 83d3abcCopy full SHA for 83d3abc
1 file changed
scripts/dnf_pylint
@@ -30,10 +30,10 @@ disable "-d R0903" # too few public methods
30
disable "-d W0141" # used builtin 'map' function
31
disable "-d W0142" # used star magic
32
33
-VAR_NAMES=--variable-rgx='[a-z_][a-z0-9_]*$'
34
-VAR_NAMES+=" "--dummy-variables-rgx='_.*'
+VAR_NAMES='--variable-rgx=[a-z_][a-z0-9_]*$'
+DUMMY_NAMES='--dummy-variables-rgx=_.*'
35
MISC=--max-line-length=82
36
37
-pylint --rcfile=/dev/null --reports=n $DISABLED $VAR_NAMES $MISC $* \
+pylint --rcfile=/dev/null --reports=n $DISABLED "$VAR_NAMES" "$DUMMY_NAMES" $MISC $* \
38
"$TEMPLATE" \
39
| egrep -v -f $FALSE_POSITIVES
0 commit comments