I'm looking for something like
[BASIC]
good-names=X,
y
as in pylintrc
, but I'd like to limit these names to be good only within a single python file.
I thought about message control like #pylint: disable=invalid-names
on top of the file, but that is too broad. Ideally, I'd like to only allow these two invalid names X
and y
to be considered good within a single file. Is that possible with pylint?