pylint-bot / pylint-unofficial

UNOFFICIAL playground for pylint github migration
0 stars 0 forks source link

false positive: Sun not recognized as member of ephem #726

Open pylint-bot opened 8 years ago

pylint-bot commented 8 years ago

Originally reported by: BitBucket: drewbrew, GitHub: @drewbrew?


Description: ephem.Sun() wrongly emits no-member

Environment:

  1. Python 2.7.10, Mac OS X 10.11.1, Mid-2014 MacBook Pro
  2. pylint 1.5.1 (dependencies: astroid-1.4.1 colorama-0.3.3 lazy-object-proxy-1.2.1 six-1.10.0 wrapt-1.10.5)
  3. ephem 3.7.6.0

Steps to replicate:

pylint ephem_test.py

Expected behavior:

Actual behavior:

************* Module ephem_test
E: 11,10: Module 'ephem' has no 'Sun' member (no-member)

Console output from the script (just to validate that ephem.Sun() is a member):

$ python ephem_test.py 
<Sun "Sun" at 0x1019e4500>