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 one uses a match statement inside a context manager pylint complains that there is a 'NoneType' context manager. The following is the smallest code I managed to cook up that reproduce the problem
Bug description
If one uses a match statement inside a context manager pylint complains that there is a 'NoneType' context manager. The following is the smallest code I managed to cook up that reproduce the problem
Configuration
No response
Command used
Pylint output
Expected behavior
To me that looks like a valid context manager. It should not raise anything
Pylint version
OS / Environment
MacOS 13.2 and Debian 11, it happens both inside and outside docker
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: