pylint
removes first item from sys.path
when running from runpy
.
#7231
Labels
Milestone
pylint
removes first item from sys.path
when running from runpy
.
#7231
Bug description
This is the line where the first item from sys.path is removed.
https://github.com/PyCQA/pylint/blob/ce7cccf96454fb6e286e4a8f38919733a0f28f44/pylint/__init__.py#L99
I think there should be a check to ensure that the first item is
""
,"."
oros.getcwd()
before removing.Configuration
No response
Command used
Pylint output
Expected behavior
Check if
""
,"."
oros.getcwd()
before removing the first item from sys.pathPylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: