title: How can I stop PyCharm from (incorrectly) autoformatting rst files?
body: <p>I writing Python documentation in rst files, used as input for Sphinx generation. When I ask PyCharm to do a code cleanup, or commit files, it cleans Python files (as expected) but also cleans rst files.</p>
  
  <p>Unfortunately, these rst cleans are incorrect (I suspect it is treating them as though they are Python files). For example...</p>
  
  <pre><code>Title
  =====
  
  .. automodule:: module_name
     :members:
  </code></pre>
  
  <p>gets corrected to...</p>
  
  <pre><code>Title
  =====
  
  .. automodule:: module_name
  :members:
  </code></pre>
  
  <p>How can I stop PyCharm cleaning these files, but still clean Python files? (Ideally, it would clean the rst files using an ReStructuredText linter, but failing that, I just want it to ignore them.)</p>