ruff-pycharm-plugin icon indicating copy to clipboard operation
ruff-pycharm-plugin copied to clipboard

file cache conflict when both ruff and python black filewatcher is enabled

Open ashanbrown opened this issue 1 year ago • 3 comments

Describe the bug I'm using python black as a formatter via the filewatcher mechanism.

To Reproduce Steps to reproduce the behavior:

  1. Enable ruff plugin
  2. Add python filewatcher. My config is as follows:
image 3. Add a few extra lines to a python file after function definition and save it.

Expected behavior I'd like to run the ruff fixes (in particular, import sorting), combined with python black, which I don't think is implemented as part of ruff.

Screenshots image

Environments (please complete the following information):

  • IDE: PyCharm Professional Edition 2023.1
  • OS: macOS 13.3.1
  • Ruff Version 0.0.262
  • Plugin version 0.0.13

Additional context

ashanbrown avatar May 08 '23 03:05 ashanbrown