The configuration that pylint
itself generates will allow i, j, k, ex, Run
, though not x,y,z
.
The general solution is to adjust your .pylintrc
, either for your account ($HOME/.pylintrc
) or your project (<project>/.pylintrc
).
First install pylint
, perhaps inside your .env
:
source myenv/bin/activate
pip install pylint
Next run pylint
, but the file is too long to maintain manually right from the start, and so save on the side:
pylint --generate-rcfile > ~/.pylintrc--full
Look at the generated ~/.pylintrc--full
. One block will say:
[BASIC]
# Good variable names which should always be accepted, separated by a comma.
good-names=i,
j,
k,
ex,
Run,
_
Adjust this block as you like (adding x,y,..
), along with any other blocks, and copy your selected excerpts into ~/.pylintrc
(or <project>/.pylintrc
).