from constants import no name in module code example Example: pylint no name in module opencv "python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"]