Open owillebo opened 1 year ago
Thank you for the bug report and in depth analysis ! Do you want to open the merge request yourself ? (Maybe also adding a failing test along the way)
Then I must quote Pippi Longstocking: “I have never tried that before, so I think I should definitely be able to do that.”
I made a clone. I checked out the clone.
How do I run the tests? To which test should I add the test case.
Thank you for trying :) ! You can use pytest:
source venv/bin/activate
pip install -r requirements_test_min.txt
pytest
The contribution doc should be up to date for more details : https://pylint.readthedocs.io/en/stable/development_guide/contributor_guide/contribute.html#creating-a-pull-request, in particular https://pylint.readthedocs.io/en/stable/development_guide/contributor_guide/tests/launching_test.html
It is more work than expected, so I cowardly have to bail out :-(
Bug description
See TextIOWrapper https://docs.python.org/3/library/io.html#io.TextIOWrapper
Please add newline="" to TextIOWrapper constructor.
Configuration
No response
Command used
Pylint output
Expected behavior
No ouput
Pylint version
OS / Environment
Windows
Additional dependencies