relative-beyond-top-level false positives with PEP 420 namespace #2967
Labels
Bug 🪲
Hacktoberfest
Help wanted 🙏
Outside help would be appreciated, good for new contributors
High priority
Issue with more than 10 reactions
Import system
Milestone
Steps to reproduce
hello-1.0.tar.gz
pylint hello
as specifying a module or package rather than a directory so there's no way to workaround that usage.Current behavior
Expected behavior
The same output as is currently reported by:
pylint --reports n -d all -e relative-beyond-top-level hello.top
I'd like this to work with both
pylint $TOPLEVEL
andpylint $PATH_TO_MODULE_FILE
. TOPLEVEL is what I use for my manual pylint runs. PATH_TO_MODULE_FILE is being used by ALE and likely other checkers integrated into IDEs and text editors.(Bug I opened against ALE to try to find a workaround for this: dense-analysis/ale#2597 )
pylint --version output
The text was updated successfully, but these errors were encountered: