title: vscode python formatting autopep8 disable E266
body: <p>I'm trying to set Visual Studio Code to format using <code>autopep8</code> but ignoring E266 (too many leading '#' for block comments) to allow Markdown sub-headings in comments.</p>
  
  <p>--ignore setting seems to work for other errors, like E302, but not specifically for E266.</p>
  
  <p>My formatting config is below, <strong>E266 still gets enforced, even though E302 is ignored</strong>:</p>
  
  <pre><code>    "python.formatting.provider": "autopep8",
      "python.formatting.autopep8Args": [
          "--ignore",
          "E266,E302",
          // E266 = multiple-# in comments
          // E302 = expect 2 blank lines before def
      ],
  </code></pre>
  
  <p>With the config above, autopep8 will ignore E302 (so it won't insert lines before def), but it continues to remove extra # in comments per E266.</p>
  
  <p>I can set my Linter to ignore E266 so it doesn't get underlined in the UI, but not the Formatter that modifies the code. This is the Linter config <strong>which works fine</strong></p>
  
  <pre><code>    "python.pythonPath": "...path...",
      "python.linting.pep8Enabled": true,
      "python.linting.pep8Args": [
          "--ignore=E266"
          // E266 = multiple-# in comments
      ],
      "python.linting.pylintPath": "...path...",
      "python.linting.pylintArgs": [
          "--load-plugins",
          "pylint_django"
      ],
      "python.linting.pylintEnabled": true,
  </code></pre>
  
  <p>Is there an overlapping rule that's similar to E266 that's causing the Formatter to still make the change despite ignoring E266? Doesn't appear so since the lines being edited are not identified by the Linter when ignoring E266.</p>
  
  <p><strong>Example.py</strong> for sample usage</p>
  
  <pre><code>## These lines will lose one "#" when Formatted in VSCode
  ## Even though we set it to ignore E266
  </code></pre>