pylint flags "_" as bad variable name, its the gettext function

Throughout the fdroidserver code base, "_()" is used for localizing
strings.  So it should not be used as an ignored variable name.  Those
should be called "_ignored".
This commit is contained in:
Hans-Christoph Steiner 2021-02-12 10:51:26 +01:00
parent fb877c8b81
commit 007c62065d
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ notes=FIXME,XXX,TODO
[BASIC]
# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,ex,Run,_,e,f,fp
good-names=i,j,k,ex,Run,f,fp
[ELIF]