microsoft / vscode-flake8

Linting support for python using the flake8 library.
https://marketplace.visualstudio.com/items?itemName=ms-python.flake8
MIT License
41 stars 30 forks source link

High CPU usage and running even after VScode is closed #160

Closed nurgasemetey closed 1 year ago

nurgasemetey commented 1 year ago

Hello team! I want to bring the attention to the following problem

Here is the profile - CPU-20230607T174441.288Z.cpuprofile.txt

Here is the output of grepping

❯ ps aux | grep vscode
MYUSERNAME 78758  98.3  0.2 35293768  57628   ??  R     8:30PM  19:02.95 /Users/MYUSERNAME/.virtualenvs/somevirtualenv/bin/python /Users/MYUSERNAME/.vscode/extensions/ms-python.flake8-2023.4.0/bundled/tool/lsp_server.py
nurgasemetey commented 1 year ago

Strangely it is stopped after I removed

karthiknadig commented 1 year ago

@nurgasemetey It is likely an issue with flake8 itself, to investigate further would it be possible for you to provide a minimal repro? I would need the file that flake8 was trying to lint, and basically details from the environment like python version, environment kind, packages installed in the environment with their versions etc.

karthiknadig commented 1 year ago

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.