You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use this configuration inside of a .toml file, then run pylint on a file, the process will hang indefinitely, with no output. The issue was traced back to the from-stdin setting.
Steps to reproduce
Create a Python project/directory
Create a pyproject.toml file with the following content:
[tool.pylint.main]
from-stdin = false
Create a python file (test.py) with some basic Python code
From the project root, run pylint ./test.py
Note that Pylint hangs
Comment out or remove the from-stdin = false line.
Rerun pylint ./test.py
Notice that it runs successfully
Details
pylint 2.17.0
astroid 2.15.0
Python 3.7.3 (default, Oct 31 2022, 14:04:00)
[GCC 8.3.0]
Linux - Debian 10
virtualenv 20.16.4
The text was updated successfully, but these errors were encountered:
Overview
At the end of the docs on configuration (main section - https://pylint.readthedocs.io/en/latest/user_guide/configuration/all-options.html#main-checker), there is an example configuration section with the following code:
If you use this configuration inside of a .toml file, then run pylint on a file, the process will hang indefinitely, with no output. The issue was traced back to the
from-stdin
setting.Steps to reproduce
pyproject.toml
file with the following content:pylint ./test.py
from-stdin = false
line.pylint ./test.py
Details
The text was updated successfully, but these errors were encountered: