microsoft / vscode-pylint

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

Add code action to format code when there's a final new line missing #176

Closed luabud closed 1 year ago

luabud commented 2 years ago

Ref: https://github.com/microsoft/vscode-pylint/issues/43

There are two things that needs to be done:

The code for the first step will be similar to the one here: https://github.com/microsoft/vscode-pylint/blob/2fae19e66aaf079c3dc190b81f913695ac65b078/bundled/tool/server.py#L243

And the unit tests will be similar to this: https://github.com/microsoft/vscode-pylint/blob/2fae19e66aaf079c3dc190b81f913695ac65b078/src/test/python_tests/test_code_actions.py#L23

gagandeepp commented 1 year ago

interested please assign

gagandeepp commented 1 year ago

@luabud @karthiknadig can you please add hacktoberfest label to this repo and issue?

brettcannon commented 1 year ago

@gagandeepp sorry, but we are purposefully not participating in Hacktoberfest due to multiple years of low-quality PRs because of the event.