Hi Team
I have got below error when checking code style/quality using Pylint
command and i have got below error.
*dir1--*
*-dir2*--
-PQR.py
- XYZ.py
-*dir3*--
-test.py
$ *cd /dir1/dir2/dir3/*
$ *pylint test.py * <<< in test.py have importing PQR.py and XYZ.py and
its resides in dir2
*E: 1, 0: Unable to import ''PQR" (import-error)*
W: 1, 0: Wildcard import PQR (wildcard-import)
*E: 2, 0: Unable to import 'XYZ_variables' (import-error)*
W: 2, 0: Wildcard import XYZ(wildcard-import)
NOTE : if we run like *pylint dir1/dir2/dir3 *its working fine.
*Pylint version::*
pylint 1.8.3,
astroid 1.6.0
Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[GCC 7.3.0]
can you please let me know how to fix it?
Thanks,
Iranna M
_______________________________________________
code-quality mailing list
[email protected]
https://mail.python.org/mailman/listinfo/code-quality