I'm attempting to use the OpenCv library, but I got the error that there was no library installed when it was installed. I fixed that issue by putting
"python.linting.pylintArgs": ["--extension-pkg-whitelist=cv2"
on my settings. However, now I get a warning when using a variable. The warning displayed is Constant name "img" doesn't conform to UPPER_CASE naming stylepylint(invalid-name)
I'm using VS Code on MacOSX.
If I delete what I added to my settings the warnings go away, but doing so stops me from being able to use OpenCv.
img = cv2.imread('image.jpg', 0)
The expected results would just be code without any warnings