sublimelsp / LSP-pyright

Python support for Sublime's LSP plugin provided through microsoft/pyright.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ingoring specific pep 8 warnings

fersarr opened this issue · comments

Sorry if this is not the right place to ask, but I couldn't find information on how to disable specific PEP 8 warnings via the sublime text configuration files. Specifically, I want to disable warnings for PEP 8 W503 (please see screenshot snippet below).

Screen Shot 2022-08-04 at 5 17 46 PM

If you google that PEP 8 W503, then you will know it's from flake8, or other whatever suspicious python-related packages. Pyright doesn't check that.

@jfcherng I know that flake8 provides those messages but it only started appearing after I installed LSP-pyright and you can see in the image that it says LSP-pyright at the right edge of the message. So all I'm asking is what config json/text I need to put into the package's config file to disable W503. It's probably something like ignore: ["W503"] but I don't know the format.

I have told you in a affirmative tone that this has NOTHING to do with pyright. And even give you some hints with two links. Actually I have found the culprit by wasting time to try them one by one for you. But I would like to leave it as your own work. Another final hint: yes, the culprit is in one of the two links. I am not going to provide any further help here as this has nothing to do with pyright.