title: How can I auto-format a Python file that contains long strings to pass when I run flake8?
body: <p>I have a lot of json style data that I am storing for some unit test api mocking I am working on. The data is stored in a .py file in the form of a Python dictionary, I didn't write it so I had no control over the line length when it was created.</p>
  
  <p>I am now under going code review and this file is failing flake8 because some of the lines are +1000 chars. I've tried <code>autopep8</code>, <code>pep8</code> and <code>black</code>, I've tried changing the line wrap in VS Code and I've tried searching for an answer online but am not getting anywhere.</p>
  
  <p>Is there a way of auto formatting this kind of file because doing it manually will take ages and be very tedious. Thanks</p>
  
  <p>EDIT</p>
  
  <p>I have this config in my <code>settings.json</code></p>
  
  <pre><code>{
    "python.pythonPath": "C:\\Users\\andre_2d8wovo\\.virtualenvs\\asana_data-LIIUPrbn\\Scripts\\python.exe",
    "editor.detectIndentation": false,
    "editor.formatOnSave": true,
    "editor.insertSpaces": true,
    "editor.tabSize": 4,
    "python.formatting.autopep8Args": ["--max-line-length=80"],
    "python.formatting.provider": "autopep8",
    "python.linting.enabled": true,
    "python.linting.lintOnSave": true,
    "python.linting.pycodestyleArgs": ["--max-line-length=80"],
    "python.linting.pycodestyleEnabled": true,
    "python.linting.pylintEnabled": false
  }
  </code></pre>