I'm using astropy's units and EartLocation to set my observatory location. Hardcoded for now.
However, when I run the code in VScode pylint is bugging me with errors whereas the code runs fine when I run it in PyCharm and IDLE.
Code:
obsy_location = EarthLocation(lat=52.91044*units.deg, lon=5.242664*units.deg, height=0*units.m)
Pylint is slapping me with 3 errors in that one line of code:
E1101:Module 'astropy.units' has no 'deg' member; maybe 'dex'?
E1101:Module 'astropy.units' has no 'm' member; maybe 'g'?
E1101:Module 'astropy.units' has no 'hour' member
Mind you, I am quite the beginner but since neither PyCharm nor IDLE seem to have any problems running this line I wonder what VScode's pylint is doing here. Can someone enlighten me?
I run VScode with the most recent Anaconda interpreter.