New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution as python module broken #4161
Comments
I can't reproduce except if I cd into |
My mistake, I just assumed it would occur in a normal context. My setup: git@github.com:PyCQA/pylint.git
cd pylint
Python3.8 -m venv venv-38
source venv-38/bin/activate
python -m pip install -U pip setuptools wheel
pip install -e .
touch a.py
python -m pylint a.py I also did just look at
After:
This was the output with the old version
-- @sbraz Did you had any issues before you submitted the MR? |
Opened #4164 to address the issue |
Steps to reproduce
Given a file
a.py
:# can be empty
Current behavior
Traceback below
Expected behavior
No errors
Additional notes
Reverting #4153 solve the issue
At first glance it seems to be related to the handling of the Python virtual environment.
pylint --version output
Traceback
The text was updated successfully, but these errors were encountered: