koxudaxi / ruff-pycharm-plugin

PyCharm plugin for ruff. This plugin provides reformat code using ruff.
MIT License
173 stars 6 forks source link

Jupyter notebook support #352

Open Malachov opened 5 months ago

Malachov commented 5 months ago

Is your feature request related to a problem? Please describe. Ruff now officially supports .ipynb files (maybe extra one-liner extend-include = ["*.ipynb"] in pyproject.toml is necessary).

ruff check myfile.ipynb from terminal shows all the errors correctly.

Pycharm does not.

Describe the solution you'd like I would like to see the errors in Problems panel.

The-Alley commented 3 months ago

I have the same issue. I am not sure if it has to do with my incorrect setup. ruff format notebook.ipynb works from the terminal but in Pycharm, nothing happens when I use "Run Ruff" action. .py files have no issue in Pycharm though.