An ultimate solution should be tracked at https://github.com/pylint-dev/pylint/projects/1, but seems it won't be available soon. If that's implemented, we can migrate to a native solution.
(Labelled lo-pri because this may not be resolved in near future.)
Currently we have a
# pylint: disable=
in each test file to apply a different set of rules for tests, along with a TODO for a better solution.I just came through https://github.com/pylint-dev/pylint/issues/3767#issuecomment-1319916278, and we can add it to our repo.
An ultimate solution should be tracked at https://github.com/pylint-dev/pylint/projects/1, but seems it won't be available soon. If that's implemented, we can migrate to a native solution.
(Labelled lo-pri because this may not be resolved in near future.)