april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
71 stars 1 forks source link

Different pylint rules for tests - waiting pylint feature #175

Open lkct opened 10 months ago

lkct commented 10 months ago

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.)