-
- Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Bug 🪲High priorityIssue with more than 10 reactionsIssue with more than 10 reactionsNeeds astroid Brain 🧠Needs a brain tip in astroid (then an astroid upgrade)Needs a brain tip in astroid (then an astroid upgrade)
Description
Steps to reproduce
- create a virtual env with python3.5
- run it
- install the latest TensorFlow and pylint via pip
- create a file
bug.py
write the following code:
import tensorflow.estimator if __name__ == '__main__': print(dir(tensorflow.estimator))
- run
pylint bug.py
Current behavior
The linter raises an error Unable to import 'tensorflow.estimator
, but running the script everything works fine.
Expected behavior
No error should have been raised.
pylint --version output
pylint 2.1.1 astroid 2.0.4 Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170118]
MarcelRobitaille, alexandreSantosPulsus and blotero
Metadata
Metadata
Assignees
Labels
Bug 🪲High priorityIssue with more than 10 reactionsIssue with more than 10 reactionsNeeds astroid Brain 🧠Needs a brain tip in astroid (then an astroid upgrade)Needs a brain tip in astroid (then an astroid upgrade)