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

Allow overriding severity based on error code prefix match #196

Closed jnooree closed 1 year ago

jnooree commented 1 year ago

See #195 for context.

karthiknadig commented 1 year ago

@jnooree Thanks for the PR. Could you add tests for this scenario?

you can find an example here: https://github.com/microsoft/vscode-flake8/blob/6f638010c80d4ee17a4ad515c3666f6d7cea7796/src/test/python_tests/test_linting.py#L198-L258

jnooree commented 1 year ago

Do the tests added in 670dccb suffice?

karthiknadig commented 1 year ago

Do the tests added in 670dccb suffice?

It looks good.