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

disable pylint `no-member` error in favor of mypy #23

Closed lkct closed 1 year ago

lkct commented 1 year ago

pylint E1101: no-member


Minimum reproduction example:

import torch
torch.rand(1)  # pylint error
torch.rnad(1)  # pylint and mypy error

Therefore, we can disable pylint check and rely on mypy.